react-native-element-dropdown
Version:
React Native Element Dropdown is a library that provides a customizable dropdown component for React Native applications.
21 lines (18 loc) • 483 B
text/typescript
import type React from 'react';
import type {
ImageStyle,
StyleProp,
TextInputProps,
TextStyle,
ViewStyle,
} from 'react-native';
interface Props extends TextInputProps {
fontFamily?: string;
style?: StyleProp<ViewStyle>;
inputStyle?: StyleProp<TextStyle>;
iconStyle?: StyleProp<ImageStyle>;
showIcon?: boolean;
renderRightIcon?: () => React.ReactElement | null;
renderLeftIcon?: () => React.ReactElement | null;
}
export type CTextInput = React.FC<Props>;