create-nova-expo-template
Version:
A template for creating a new React Native app using Expo and TypeScript, with a focus on performance and best practices.
14 lines (11 loc) • 341 B
text/typescript
import { colorType } from "@/constants/Colors";
import { iconsList } from "./list";
export interface IconComponentProps {
name: keyof typeof iconsList;
size: number;
color: colorType;
direction?: "inherit" | "ltr" | "rtl";
rotateX?: number;
rotateY?: number;
}
export type IconProps = Partial<IconComponentProps>;