UNPKG

@atlrdsgn/kit

Version:

An ever–expanding library of React components, primitives, and tools

41 lines • 1.33 kB
import * as React from 'react'; export type SVGIconVariants = 'ARCube.Icon' | 'Cursor.Icon' | 'ExpandFilled.Icon' | 'ExpandOutlined.Icon' | 'Linked.Icon'; export interface SVGIconProps { icon: SVGIconVariants; color?: string; size?: number; className?: string; style?: React.CSSProperties; attr?: React.SVGAttributes<SVGElement>; } export interface IconMap { 'ARCube.Icon': React.FC<SVGIconProps>; 'Cursor.Icon': React.FC<SVGIconProps>; 'ExpandFilled.Icon': React.FC<SVGIconProps>; 'ExpandOutlined.Icon': React.FC<SVGIconProps>; 'Linked.Icon': React.FC<SVGIconProps>; } /** --- icon context --- */ export interface IconContext { color?: string; size?: string; className?: string; style?: React.CSSProperties; attr?: React.SVGAttributes<SVGElement>; } export declare const DefaultContext: IconContext; export declare const IconContext: React.Context<IconContext>; /** --- internal icon components only below this comment --- */ export type IconProps = { children?: never; color?: string; size?: number | string; className?: string; } & React.SVGProps<SVGSVGElement>; export type LogoProps = { children?: never; color?: string; width?: string; height?: string; } & React.SVGAttributes<SVGElement>; //# sourceMappingURL=types.d.ts.map