import type { ImageStyle, StyleProp, TextStyle, ViewStyle } from 'react-native'; export type SelectStyles = { select?: SelectControlStyles; option?: OptionStyles; /** * Style for the options list container. */ optionsList?: StyleProp; noOptions?: { /** * Style for the no options container. */ container?: StyleProp; /** * Style for the no options text. */ text?: StyleProp; }; sectionHeader?: SectionHeaderStyles; /** * Style for backdrop. */ backdrop?: StyleProp; }; export type SelectControlStyles = { /** * Style for the select. */ container?: StyleProp; /** * Style for the select text. */ text?: StyleProp; /** * Style for the disabled select. */ disabled?: StyleProp; /** * Style for the buttons container the right side. */ buttons?: StyleProp; multiSelectedOption?: { /** * Style for the selected option in select control. */ container?: StyleProp; /** * Style for the selected option text in select control. */ text?: StyleProp; /** * Style for the pressed selected option in select control. */ pressed?: StyleProp; }; /** * Style for the arrow. */ arrow?: { /** * Style for the arrow container. */ container?: StyleProp; /** * Style for the arrow icon. */ icon?: StyleProp; }; clear?: { /** * Style for the clear option button. */ container?: StyleProp; /** * Style for the clear option icon. */ icon?: StyleProp; }; /** * Style for the custom left icon. */ leftIcon?: StyleProp; }; export type OptionStyles = { /** * Style for the single option. */ container?: StyleProp; /** * Style for the pressed single option. */ pressed?: StyleProp; selected?: { /** * Style for the selected single option. */ container?: StyleProp; /** * Style for the selected single option text. */ text?: StyleProp; }; /** * Style for the single option text. */ text?: StyleProp; }; export type SectionHeaderStyles = { /** * Style for the section header. */ container?: StyleProp; clear?: { /** * Style for the section header clear icon. */ icon?: StyleProp; }; /** * Style for the pressed section header. */ pressed?: StyleProp; selected?: { /** * Style for section header when all section options are selected */ container?: StyleProp; /** * Style for section header text when all section options are selected. */ text?: StyleProp; }; /** * Style for the section header text. */ text?: StyleProp; };