alchemy-tech-ui
Version:
react component library for alchemy apps
41 lines (40 loc) • 1.11 kB
TypeScript
/// <reference types="react" />
import Menu from "./icons/Menu";
import Expand from "./icons/Expand";
import Collapse from "./icons/Collapse";
import CommandLine from "./icons/CommandLine";
import Play from "./icons/Play";
import Pause from "./icons/Pause";
import Profile from "./icons/Profile";
import Close from "./icons/Close";
import Phone from "./icons/Phone";
import Email from "./icons/Email";
import Document from "./icons/Document";
import Edit from "./icons/Edit";
declare const icons: {
Menu: typeof Menu;
Expand: typeof Expand;
Collapse: typeof Collapse;
CommandLine: typeof CommandLine;
Play: typeof Play;
Pause: typeof Pause;
Profile: typeof Profile;
Close: typeof Close;
Phone: typeof Phone;
Email: typeof Email;
Document: typeof Document;
Edit: typeof Edit;
};
declare const sizes: {
sm: string;
md: string;
lg: string;
xl: string;
};
interface IconProps {
type: keyof typeof icons;
size?: keyof typeof sizes;
color?: string;
}
export default function Icon({ type, size, color, }: IconProps): JSX.Element;
export {};