Skip to content

Commit

Permalink
Fix InputGuesser Prop type refuses multiline prop (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jul 30, 2024
1 parent 1901275 commit cd704b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ export type InputGuesserProps = Omit<
'component'
> & {
transformEnum?: (value: string | number) => string | number;
// don't know why this TextInputProps doesn't surface in the final type, re-adding it here
multiline?: boolean;
} & Pick<
ReferenceInputProps | ReferenceArrayInputProps,
'filter' | 'page' | 'perPage' | 'sort' | 'enableGetChoices'
Expand Down

0 comments on commit cd704b4

Please sign in to comment.