import type { BorderProps, ColorProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps, ExtraProps, OutlineProps, ShadowProps, BackgroundProps, SafeAreaProps, TransformProps, PlatformProps, } from '../../types'; import type { SvgProps } from 'react-native-svg'; export interface IIconProps extends Omit< SvgProps, 'opacity' | 'fill' | 'stroke' | 'height' | 'width' | 'transform' >, BorderProps, ColorProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps, ExtraProps, OutlineProps, ShadowProps, BackgroundProps, SafeAreaProps, TransformProps, PlatformProps { // name?: IconNameType; // type?: IconType; /** * Use @expo/vector-icons */ as?: any; /** * The viewBox of the icon. */ // viewBox?: string; /** * The size of the icon. */ size?: string | number; /** * The color of the icon. */ color?: string; /** * */ // focusable?: boolean; /** * */ children?: JSX.Element[] | JSX.Element; /** * */ name?: string; /** * */ // stroke?: string; /** * */ // strokeWidth?: string; } export interface IcreateIconProps { /** * The viewBox of the icon. */ viewBox?: string; /** * Path element of the icon. */ path?: JSX.Element[] | JSX.Element; /** * The path of the SVG icon. */ d?: string; }