@dropzone-ui/react
Version:
The best and most complete React library for managing file uploads. Multilanguage support. Server side support. Material design styles. Code generator on webpage.
26 lines (25 loc) • 600 B
TypeScript
import { CSSProperties } from "react";
export interface IconProps {
size?: "micro" | "small" | "semi-medium" | "medium" | "large";
/**
* main color for icon
*/
color?: string;
/**
* background color for icon
*/
colorFill?: string;
/**
* Function that is triggered when user click the icon.
* If not provided, cursor wil be default
*/
onClick?: Function;
/**
* style properties for icon
*/
style?: CSSProperties;
/**
* A classname for stylesheet rules
*/
className?: string;
}