import 'core-js/modules/es.object.assign.js';
import { __rest } from '../../../_virtual/_tslib.js';
import { jsx } from 'react/jsx-runtime';
import { Typography as Typography$1 } from '@mui/material';

function Typography(_a) {
  var {
      children,
      color
    } = _a,
    props = __rest(_a, ["children", "color"]);
  return jsx(Typography$1, Object.assign({
    color: color !== null && color !== void 0 ? color : 'inherit'
  }, props, {
    children: children
  }));
}

export { Typography, Typography as default };
