-
Notifications
You must be signed in to change notification settings - Fork 734
fix prop types for ChipsInput props #1139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
typings/components/ChipsInput.d.ts
Outdated
@@ -1,7 +1,9 @@ | |||
import { TypographyModifiers } from 'generatedTypes'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you've left this be mistake
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woops - fixing
typings/components/ChipsInput.d.ts
Outdated
import {ReactElement} from 'react'; | ||
import {StyleProp, TextStyle, ViewStyle, AccessibilityProps, ColorValue} from 'react-native'; | ||
import {BaseComponent} from '../commons'; | ||
import {AccessibilityProps} from '../modifiers'; | ||
import { TextInputProps } from './Inputs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be TextFieldProps
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I don't really know as I've only seen this used in our module as TextInput
you know the use cases better than me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you know the use cases better than me :)
Not really, it's just using a TextField
with {...others}
:)
40d8cb4
to
b2a3f29
Compare
b2a3f29
to
68741fc
Compare
Description
Fix typing of
ChipsInputProps
by extendingTextInputProps
Changelog
Fix
ChipsInput
prop typings