import PropTypes from 'prop-types';
// material-ui
import { Box, Card, Grid, Stack, Typography } from '@mui/material';
// project import
import MainCard from 'components/MainCard';
import ComponentSkeleton from './ComponentSkeleton';
// ===============================|| COLOR BOX ||=============================== //
function ColorBox({ bgcolor, title, data, dark, main }) {
return (
<>
{title && (
{data && (
{data.label}
{data.color}
)}
{title}
)}
>
);
}
ColorBox.propTypes = {
bgcolor: PropTypes.string,
title: PropTypes.string,
data: PropTypes.object.isRequired,
dark: PropTypes.bool,
main: PropTypes.bool
};
// ===============================|| COMPONENT - COLOR ||=============================== //
const ComponentColor = () => (
);
export default ComponentColor;