Skip to content

Commit

Permalink
fix(antd/next): fix FormItem typings (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nokecy committed May 24, 2021
1 parent 6ccf217 commit 91b4b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/antd/src/form-item/index.tsx
Expand Up @@ -19,7 +19,7 @@ export interface IFormItemProps {
prefixCls?: string
label?: React.ReactNode
colon?: boolean
tooltip?: boolean
tooltip?: React.ReactNode
tooltipLayout?: 'icon' | 'text'
labelStyle?: React.CSSProperties
labelAlign?: 'left' | 'right'
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/form-item/index.tsx
Expand Up @@ -19,7 +19,7 @@ export interface IFormItemProps {
prefix?: string
label?: React.ReactNode
colon?: boolean
tooltip?: boolean
tooltip?: React.ReactNode
tooltipLayout?: 'icon' | 'text'
labelStyle?: React.CSSProperties
labelAlign?: 'left' | 'right'
Expand Down

0 comments on commit 91b4b61

Please sign in to comment.