buildSteps.tsx 518 B

12345678910111213141516171819202122232425
  1. import * as React from 'react';
  2. import styled from '@emotion/styled';
  3. import List from 'app/components/list';
  4. import space from 'app/styles/space';
  5. type Props = {
  6. children: React.ReactNode;
  7. };
  8. function BuildSteps({children}: Props) {
  9. return <StyledList symbol="colored-numeric">{children}</StyledList>;
  10. }
  11. export default BuildSteps;
  12. const StyledList = styled(List)`
  13. display: grid;
  14. grid-gap: ${space(4)};
  15. max-width: 100%;
  16. @media (min-width: ${p => p.theme.breakpoints[4]}) {
  17. max-width: 50%;
  18. }
  19. `;