A flexbox layout wrapper for arranging children vertically or horizontally.
// 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 PropTypes from 'prop-types';
import { createStack } from '@mui/system';
import styled from '../styles/styled';
import { useDefaultProps } from '../DefaultPropsProvider';
const Stack = createStack({
createStyledComponent: styled('div', {
name: 'MuiStack',
slot: 'Root',
}),
useThemeProps: (inProps) => useDefaultProps({ props: inProps, name: 'MuiStack' }),
});
Stack.propTypes /* remove-proptypes */ = {
// ┌────────────────────────────── Warning ──────────────────────────────┐
// │ These PropTypes are generated from the TypeScript type definitions. │
// │ To update them, edit the d.ts file and ru
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key