@dossierhq/design
Version:
The design system for Dossier.
16 lines (15 loc) • 990 B
TypeScript
import type { CSSProperties, JSX } from 'react';
export interface IconProps {
className?: string;
style?: CSSProperties;
icon?: IconName | null;
text?: boolean;
size?: 'small' | '' | 'medium' | 'large';
}
export declare const ICON_NAMES: readonly ["add", "bold", "chevronDown", "chevronUp", "close", "code", "delete", "download", "first", "grip", "heading", "italic", "last", "link", "linkFrom", "linkTo", "list", "listCheck", "listOl", "listUl", "location", "map", "next", "openInNewWindow", "orderAsc", "orderDesc", "ordered", "paragraph", "previous", "search", "shuffle", "strikethrough", "subscript", "superscript", "underline", "upload", "user"];
export type IconName = (typeof ICON_NAMES)[number];
export declare function Icon({ className, style, icon, text, size }: IconProps): JSX.Element;
export declare function IconAsset({ icon, size, }: {
icon?: IconName | null;
size?: 'small' | '' | 'medium' | 'large';
}): import("react/jsx-runtime").JSX.Element;