Nesting

Error rendering component

Unknown plugin "module-resolver" specified in "base" at 0, attempted to resolve relative to "/home/circleci/wellcomecollection.org/common/views/grid/nesting"

import {grid} from '../../../../common/utils/classnames';

export default () => (
  <div className='grid'>
    <div className={grid({s: 12, m: 6, l: 4})}>
      <div className='grid-placeholder'></div>
    </div>
    <div className='grid__cell'>
      <div className='grid'>
        <div className={grid({m: 12})}>
          <div className='grid-placeholder'></div>
        </div>
        <div className={grid({m: 12})}>
          <div className='grid-placeholder'></div>
        </div>
      </div>
    </div>
  </div>
);
/* No context defined for this component. */

Grids can be nested. This is useful in combination with size modifier classes, when the layout needs to change in more complex ways between breakpoints.