grepsr-ui-elements
Version:
34 lines (33 loc) • 1.01 kB
TypeScript
/// <reference types="react" />
import { BadgeProps } from "@mui/material";
import PropTypes from "prop-types";
interface ExtendBadgeProps extends BadgeProps {
}
export { ExtendBadgeProps };
declare const GrepsrBadgeIcon: {
(props: ExtendBadgeProps): JSX.Element;
defaultProps: {
badgeContent: number;
color: string;
invisible: boolean;
showZero: boolean;
max: number;
variant: string;
overlap: string;
anchorOrigin: {
vertical: string;
horizontal: string;
};
};
propTypes: {
badgeContent: PropTypes.Validator<any>;
color: PropTypes.Validator<string>;
invisible: PropTypes.Requireable<boolean>;
showZero: PropTypes.Requireable<boolean>;
max: PropTypes.Requireable<number>;
overlap: PropTypes.Validator<string>;
variant: PropTypes.Validator<string>;
anchorOrigin: PropTypes.Validator<object>;
};
};
export default GrepsrBadgeIcon;