(props: { children: JSX.Element })
| 16 | const TableCountContext = createContext<Signals>() |
| 17 | |
| 18 | export function TableCountProvider(props: { children: JSX.Element }) { |
| 19 | return ( |
| 20 | <TableCountContext.Provider |
| 21 | value={{ |
| 22 | // eslint-disable-next-line solid/reactivity |
| 23 | templateRowDelta: createSignal(), |
| 24 | // eslint-disable-next-line solid/reactivity |
| 25 | noteRowDelta: createSignal(), |
| 26 | }} |
| 27 | > |
| 28 | {props.children} |
| 29 | </TableCountContext.Provider> |
| 30 | ) |
| 31 | } |
| 32 | |
| 33 | export function useTableCountContext() { |
| 34 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected