Skip to content

Commit cd704b4

Browse files
authored
Fix InputGuesser Prop type refuses multiline prop (#576)
1 parent 1901275 commit cd704b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ export type InputGuesserProps = Omit<
497497
'component'
498498
> & {
499499
transformEnum?: (value: string | number) => string | number;
500+
// don't know why this TextInputProps doesn't surface in the final type, re-adding it here
501+
multiline?: boolean;
500502
} & Pick<
501503
ReferenceInputProps | ReferenceArrayInputProps,
502504
'filter' | 'page' | 'perPage' | 'sort' | 'enableGetChoices'

0 commit comments

Comments
 (0)