Skip to content

Commit

Permalink
fix: add ReactNode as type in InputNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
joshenlim committed Jul 7, 2022
1 parent 71869d2 commit 53b51f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InputNumber/InputNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface Props {
autofocus?: boolean
className?: string
defaultValue?: string | number
descriptionText?: string
descriptionText?: string | React.ReactNode
disabled?: boolean
error?: string
icon?: any
Expand All @@ -27,7 +27,7 @@ export interface Props {
label?: string
afterLabel?: string
beforeLabel?: string
labelOptional?: string
labelOptional?: string | React.ReactNode
layout?: 'horizontal' | 'vertical'
name?: string
onChange?(x: React.ChangeEvent<HTMLInputElement>): void
Expand Down

0 comments on commit 53b51f5

Please sign in to comment.