text: /*!
  
  =========================================================
  * Vision UI Free React - v1.0.0
  =========================================================
  
  * Product Page: https://www.creative-tim.com/product/vision-ui-free-react
  * Copyright 2021 Creative Tim (https://www.creative-tim.com/)
  * Licensed under MIT (https://github.com/creativetimofficial/vision-ui-free-react/blob/master LICENSE.md)
  
  * Design and Coded by Simmmple & Creative Tim
  
  =========================================================
  
  * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  
  */
  
  import { forwardRef } from "react";
  
  // prop-types is a library for typechecking of props
  import PropTypes from "prop-types";
  
  // Custom styles for VuiAvatar
  import VuiAvatarRoot from "components/VuiAvatar/VuiAvatarRoot";
  
  const VuiAvatar = forwardRef(({ bgColor, size, shadow, ...rest }, ref) => (
    <VuiAvatarRoot ref={ref} ownerState={{ shadow, bgColor, size }} {...rest} />
  ));
  
  // Setting default values for the props of VuiAvatar
  VuiAvatar.defaultProps = {
    bgColor: "transparent",
    size: "md",
    shadow: "none",
  };
  
  // Typechecking props for the VuiAvatar
  VuiAvatar.propTypes = {
    bgColor: PropTypes.oneOf([
      "transparent",
      "primary",
      "secondary",
      "info",
      "success",
      "warning",
      "error",
      "light",
      "dark",
    ]),
    size: PropTypes.oneOf(["xs", "sm", "md", "lg", "xl", "xxl"]),
    shadow: PropTypes.oneOf(["none", "xs", "sm", "md", "lg", "xl", "xxl", "inset"]),
  };
  
  export default VuiAvatar;
  