welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
8 lines (7 loc) • 650 B
TypeScript
import { IconOptions } from '../Icon';
import { default as unicodeMap } from './unicode.json';
export type StyledIconProps = {
name: keyof typeof unicodeMap;
size: IconOptions['size'];
};
export declare const Icon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>> & import('@xstyled/system').SystemProps<import('@xstyled/system').Theme>, StyledIconProps>> & string;