reactnativeepictrailsds
Version:
A modern, production-ready design system for React Native — featuring pre-styled, customizable components, state-based UI logic, theme support, and seamless integration with Tailwind, Expo, and TypeScript. Built for scalable mobile app development with ac
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;
}