Open trajano opened 2 years ago
Are there TypeScript typings available?
Something like this (just took a stab)
declare module 'react-native-navigation-search-bar' { export type RNNSearchBarProps = { search?: string; componentId: string; statusBarHeight: number; placeholder?: string; onChangeText?: (value: string) => void; onSearchButtonPress?: () => void; onFocus?: () => void; onBlur?: () => void; onClear?: () => void; onCancel?: () => void; }; declare class RNNSearchBar extends Component<RNNSearchBarProps> {} }
@trajano Want to make a PR? Thanks
Are there TypeScript typings available?
Something like this (just took a stab)