UNPKG

@devrue/rn-select

Version:

Custom typescript only select component for react native

21 lines 791 B
/// <reference types="react" /> import { type TextStyle, type ViewStyle } from 'react-native'; import type { PressableProps } from 'react-native'; export interface OptionColors { inactiveColor?: string; activeColor?: string; checkColor?: string; } export interface Props extends PressableProps { value: string; onPress: () => void; multi: boolean; checked: boolean; selectionEffectColor?: string; reverse?: boolean; optionContainerStyle?: ViewStyle; optionTextStyle?: TextStyle; optionCheckColors?: OptionColors; } export default function SelectRow({ value, onPress, multi, checked, selectionEffectColor, reverse, optionContainerStyle, optionTextStyle, optionCheckColors, ...rest }: Props): JSX.Element; //# sourceMappingURL=SelectRow.d.ts.map