@gluestack-ui/icon
Version:
A universal headless icon component for React Native, Next.js & React
21 lines (20 loc) • 814 B
TypeScript
import React from 'react';
declare const Svg: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
export type IPrimitiveIcon = {
height?: number | string;
width?: number | string;
fill?: string;
color?: string;
size?: number | string;
stroke?: string;
as?: React.ElementType;
className?: string;
classNameColor?: string;
style?: any;
};
declare const PrimitiveIcon: React.ForwardRefExoticComponent<IPrimitiveIcon & React.RefAttributes<SVGSVGElement>>;
declare const UIIcon: import("../createIcon").IIconComponentType<(IPrimitiveIcon & React.RefAttributes<SVGSVGElement>) | {
fill?: import("react-native").ColorValue;
stroke?: import("react-native").ColorValue;
}>;
export { PrimitiveIcon, Svg, UIIcon };