Design system.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

26 righe
403 B

  1. export const Section = ({ children, title }) => (
  2. <section>
  3. <div className="container mx-auto px-4">
  4. <h1>
  5. {title}
  6. </h1>
  7. <div>
  8. {children}
  9. </div>
  10. </div>
  11. </section>
  12. );
  13. export const Subsection = ({ children, title }) => (
  14. <section>
  15. <div>
  16. <h2>
  17. {title}
  18. </h2>
  19. <div>
  20. {children}
  21. </div>
  22. </div>
  23. </section>
  24. );