UNPKG

grepsr-ui-elements

Version:

25 lines (24 loc) 803 B
import PropTypes from "prop-types"; import { ReactNode } from "react"; interface IconProps { color: "inherit" | "primary" | "success" | "error" | "info" | "warning" | "disabled" | "action" | "secondary" | string | undefined; children: ReactNode | any; fontSize: "large" | "medium" | "small"; fontColor?: string | undefined; } export { IconProps }; declare const GrepsrIcon: { (props: IconProps): JSX.Element; defaultProps: { fontSize: string; color: string; children: string; }; propTypes: { children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>; fontSize: PropTypes.Validator<string>; color: PropTypes.Validator<string>; fontColor: PropTypes.Requireable<string>; }; }; export default GrepsrIcon;