({ children, name })
| 9 | } |
| 10 | |
| 11 | const Section = ({ children, name }) => { |
| 12 | const styledComponents = useThemedStylesWithMdx(useMDXComponents(components)) |
| 13 | return ( |
| 14 | <MDXProvider components={styledComponents}> |
| 15 | <NavSection |
| 16 | name={name} |
| 17 | menu={{ contents, prefix: '/maps' }} |
| 18 | title={`${name[0].toUpperCase() + name.slice(1)} – CarbonPlan`} |
| 19 | description={'TK'} |
| 20 | > |
| 21 | {children} |
| 22 | </NavSection> |
| 23 | </MDXProvider> |
| 24 | ) |
| 25 | } |
| 26 | |
| 27 | export default Section |
nothing calls this directly
no outgoing calls
no test coverage detected