SlottedComponentProps
interface exported by @mwillbanks/tuil-theme.
interface
Public interface exported by @mwillbanks/tuil-theme.
export interface SlottedComponentProps<
TSlots extends SlotMap,
TState = object,
> {
readonly slots?: Partial<SlotComponents<TSlots>>;
readonly slotProps?: Partial<SlotProps<TSlots, TState>>;
readonly unstyled?: boolean;
readonly variant?: string;
readonly size?: "sm" | "md" | "lg";
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
slots | Partial<SlotComponents<TSlots>> | undefined | No | The slots member uses the Partial<SlotComponents<TSlots>> | undefined contract. | SlotComponents |
slotProps | Partial<SlotProps<TSlots, TState>> | undefined | No | The slotProps member uses the Partial<SlotProps<TSlots, TState>> | undefined contract. | SlotProps |
unstyled | boolean | undefined | No | The unstyled member uses the boolean | undefined contract. | — |
variant | string | undefined | No | The variant member uses the string | undefined contract. | — |
size | "sm" | "md" | "lg" | undefined | No | The size member uses the "sm" | "md" | "lg" | undefined contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference