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
22 lines (20 loc) • 658 B
text/typescript
import { PressableProps } from "react-native";
export type ButtonProps = PressableProps & {
label: string;
variant?: "primary" | "secondary";
size?: "small" | "medium" | "large";
icon?: "right" | "left";
state?: "default" | "pressed" | "hover" | "disabled" | "loading";
disabled?: boolean;
background?: string | null;
};
export type TypeDocsProps = PressableProps & {
icon?: "left" | "right";
buttonLabel?: string;
label?: string;
size?: "small" | "medium" | "large";
state?: "default" | "pressed" | "hover" | "disabled" | "loading";
disabled?: boolean;
background?: string | null;
onClick?: () => void
};