Type PropsWithSlots<S>
PropsWithSlots<
S> =Slots<S> & {children?:ReactNode; }
Source: slots.tsx
The props of a component that supports slots.
Type Declaration
children?
optionalchildren?:ReactNode
The content to render instead of the slots.
If this is an empty value, the slots will be rendered instead.
Type Parameters
S
S extends Record<string, FC>
A dictionary mapping each slot name to a component.