Skip to content

Commit

Permalink
fix: ButtonGroup missing the definition of align prop (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
atzcl authored and janryWang committed Sep 3, 2019
1 parent 5268ce8 commit a989364
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/antd/src/type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ export interface IFormButtonGroupProps {
style?: React.CSSProperties
itemStyle?: React.CSSProperties
className?: string

align?: 'left' | 'right' | 'start' | 'end' | 'top' | 'bottom' | 'center'
triggerDistance?: number
zIndex?: number
span?: number
offset?: number
span?: ColSpanType
offset?: ColSpanType
}

export interface ISubmitProps extends Omit<BaseButtonProps, 'loading'> {
Expand Down
6 changes: 3 additions & 3 deletions packages/next/src/type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ export interface IFormButtonGroupProps {
style?: React.CSSProperties
itemStyle?: React.CSSProperties
className?: string

align?: 'left' | 'right' | 'start' | 'end' | 'top' | 'bottom' | 'center'
triggerDistance?: number
zIndex?: number
span?: number
offset?: number
span?: ColSpanType
offset?: ColSpanType
}

export interface SchemaFormProps<V = unknown> {
Expand Down

0 comments on commit a989364

Please sign in to comment.