reactnativeepictrailsds
Version:
A flexible and customizable design system for React Native, providing pre-built UI components, typography, and themes to enhance mobile app development.
19 lines (17 loc) • 408 B
text/typescript
export type SelectValue = {
value: string;
label: string;
flagCode?: string;
};
type MessageType = 'none' | 'help' | 'error';
export interface SelectProps {
label: string;
values: SelectValue[];
placeholder?: string;
prefix?: boolean;
messageType?: MessageType;
message?: string;
onChange?: (value: SelectValue) => void;
disabled?: boolean;
containerStyle?: any;
}