Box/Box.tsx

material-ui · packages/mui-system/src/Box/Box.tsx · typescript · MIT
ui

MUI System Box component providing a versatile styled container.

// Source: https://github.com/mui/material-ui | License: MIT | Copyright 2014 Call-Em-All
// Provided via justclaw.it.com; keep this notice with the code.
'use client';
import * as React from 'react';
import PropTypes from 'prop-types';
import ClassNameGenerator from '@mui/utils/ClassNameGenerator';
import type { OverridableComponent, OverrideProps } from '@mui/types';
import createBox from '../createBox';
import boxClasses from './boxClasses';
import type {
  SxProps,
  AllSystemCSSProperties,
  ResponsiveStyleValue,
  OverwriteCSSProperties,
  AliasesCSSProperties,
} from '../styleFunctionSx';
import type { PropsFor } from '../style';
import type { ComposedStyleFunction } from '../compose';
import type { Theme as SystemTheme } from '../createTheme';
import type borders from '../borders';

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key