| 1 | 'use client'; |
| 2 | |
| 3 | import * as React from 'react'; |
| 4 | |
| 5 | import Container from './Container.js'; |
| 6 | |
| 7 | export default function ShowMore({children}) { |
| 8 | const [show, setShow] = React.useState(false); |
| 9 | if (!show) { |
| 10 | return <button onClick={() => setShow(true)}>Show More</button>; |
| 11 | } |
| 12 | return <Container>{children}</Container>; |
| 13 | } |