({
children,
...rest
}: JSX.IntrinsicElements['section'])
| 3 | import type { JSX } from 'solid-js/jsx-runtime' |
| 4 | |
| 5 | export const Section = ({ |
| 6 | children, |
| 7 | ...rest |
| 8 | }: JSX.IntrinsicElements['section']) => { |
| 9 | const styles = createStyles() |
| 10 | return ( |
| 11 | <section class={clsx(styles().section.main, rest.class)} {...rest}> |
| 12 | {children} |
| 13 | </section> |
| 14 | ) |
| 15 | } |
| 16 | |
| 17 | export const SectionTitle = ({ |
| 18 | children, |
nothing calls this directly
no test coverage detected