UNPKG

seti-ramesesv1

Version:

Reusable components and context for Next.js apps

37 lines (34 loc) 1.75 kB
import PropTypes from '../../../../../_virtual/index.js'; import THEME_ID from '../styles/identifier.js'; import boxClasses from './boxClasses.js'; import createBox from '../../../system/esm/createBox/createBox.js'; import ClassNameGenerator from '../../../utils/esm/ClassNameGenerator/ClassNameGenerator.js'; import createTheme from '../styles/createTheme.js'; const defaultTheme = createTheme(); const Box = createBox({ themeId: THEME_ID, defaultTheme, defaultClassName: boxClasses.root, generateClassName: ClassNameGenerator.generate }); process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = { // ┌────────────────────────────── Warning ──────────────────────────────┐ // │ These PropTypes are generated from the TypeScript type definitions. │ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │ // └─────────────────────────────────────────────────────────────────────┘ /** * @ignore */ children: PropTypes.node, /** * The component used for the root node. * Either a string to use a HTML element or a component. */ component: PropTypes.elementType, /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]) } : void 0; export { Box as default }; //# sourceMappingURL=Box.js.map