@brizy/ui
Version:
React elements in Brizy style
13 lines (12 loc) • 323 B
TypeScript
import { ReactElement } from "react";
import { Color } from "../types";
export interface ItemColors {
background?: Color;
hoverBackground?: Color;
}
export interface Props {
children: ReactElement;
color?: ItemColors;
onClick?: VoidFunction;
}
export declare const Item: (props: Props) => ReactElement;