box-ui-elements
Version:
Box UI Elements
11 lines (10 loc) • 345 B
TypeScript
/// <reference types="react" />
import { SVGProps } from '../accessible-svg/AccessibleSVG';
type Config = {
color: string;
icon: Icon;
};
type Icon = (props: SVGProps) => JSX.Element;
export declare const getColor: (extension?: string) => Config['color'];
export declare const getIcon: (extension?: string) => Config['icon'];
export {};