@tolokoban/ui
Version:
React components with theme
18 lines • 714 B
TypeScript
import * as React from "react";
import { ColorStyleProps } from "../../../theme/styles/color";
export type GenericIconProps = {
className?: string;
type?: "filled" | "outlined" | "bold" | "dual";
size?: string;
/** Starts the animation if `true` */
animate?: boolean;
/** Description of the drawing. Ex.: `M8,20L12,10L16,20Z` */
value?: string;
onClick?(): void;
} & ColorStyleProps;
export type IconProps = Omit<GenericIconProps, "value">;
export type Icon = ((props: IconProps) => React.ReactElement<IconProps>) & {
id: string;
};
export default function GenericIcon(props: GenericIconProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=generic-icon.d.ts.map