Closed gablabelle closed 4 years ago
Hello,
FYI, value is optional (it works without it being set), typing should be value?: string
value
value?: string
https://github.com/iamshadmirza/react-native-design-system/blob/8f8a8ae603b1967d6f4e10d8302265bae4fa7fe2/src/types/Input.d.ts#L13
and onChangeText is missing the text it's returning, typing should be onChangeText: (text: string) => void,
onChangeText
onChangeText: (text: string) => void,
https://github.com/iamshadmirza/react-native-design-system/blob/8f8a8ae603b1967d6f4e10d8302265bae4fa7fe2/src/types/Input.d.ts#L14
Fixed
Hello,
FYI,
value
is optional (it works without it being set), typing should bevalue?: string
https://github.com/iamshadmirza/react-native-design-system/blob/8f8a8ae603b1967d6f4e10d8302265bae4fa7fe2/src/types/Input.d.ts#L13
and
onChangeText
is missing the text it's returning, typing should beonChangeText: (text: string) => void,
https://github.com/iamshadmirza/react-native-design-system/blob/8f8a8ae603b1967d6f4e10d8302265bae4fa7fe2/src/types/Input.d.ts#L14