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