Skip to content

Commit

Permalink
fix(antd): fix FormItem type definition (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenve authored Apr 8, 2020
1 parent e84fabe commit a53b46a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/antd/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export type IAntdFormProps = Omit<FormProps, 'onSubmit' | 'defaultValue'> &
IFormProps<any, any>

export type IAntdFormItemProps = IFieldStateUIProps &
ItemProps & {
Omit<ItemProps, 'children'> & {
valueName?: string
eventName?: string
component?: React.JSXElementConstructor<any>
children?: React.ReactNode
itemStyle?: {
[key: string]: string | number
}
Expand Down

0 comments on commit a53b46a

Please sign in to comment.