import type { Accessor, JSX, JSXElement } from 'solid-js' /** * @internal */ export type PropsWithClass

= P & { class?: string | undefined } /** * @internal */ export type PropsWithChildren

= P & { children?: JSXElement | undefined } /** * @internal */ export type PropsWithElement = Props & JSX.HTMLAttributes /** * T or a reactive/non-reactive function returning T */ export type MaybeAccessor = T | Accessor