1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import { children, ParentComponent } from 'solid-js'
|
| export const ConfigTitle: ParentComponent<{ withDivider?: boolean }> = (
| props,
| ) => (
| <div
| class="py-2 text-center text-lg font-semibold"
| classList={{
| divider: props.withDivider,
| }}
| >
| {children(() => props.children)()}
| </div>
| )
|
|