UNPKG

grepsr-ui-elements

Version:

32 lines (31 loc) 1.07 kB
import { TypographyProps } from "@mui/material"; import { AvatarProps } from "@mui/material/Avatar"; import PropTypes from "prop-types"; import { ReactNode } from "react"; interface ExtendAvatarProps extends AvatarProps { isAvatarLetter?: boolean; avatarTitle: ReactNode | string | undefined | any; backgroundColor?: string; isAvatarTitleShow: boolean; avatarTitleVariant: TypographyProps["variant"]; } export { ExtendAvatarProps }; declare const GrepsrAvatar: { (props: ExtendAvatarProps): JSX.Element; defaultProps: { alt: string; isAvatarLetter: boolean; avatarTitle: string; variant: string; isAvatarTitleShow: boolean; avatarTitleVariant: string; }; propTypes: { isAvatarLertter: PropTypes.Requireable<boolean>; avatarTitle: PropTypes.Validator<string>; backgroundColor: PropTypes.Requireable<string>; isAvatarTitleShow: PropTypes.Validator<boolean>; avatarTitleVariant: PropTypes.Validator<string>; }; }; export default GrepsrAvatar;