tuil
ReferencePackages@mwillbanks/tuil-themeAPI

SlottedComponentProps

interface exported by @mwillbanks/tuil-theme.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
slotsPartial<SlotComponents<TSlots>> | undefinedNoThe slots member uses the Partial<SlotComponents<TSlots>> | undefined contract.SlotComponents
slotPropsPartial<SlotProps<TSlots, TState>> | undefinedNoThe slotProps member uses the Partial<SlotProps<TSlots, TState>> | undefined contract.SlotProps
unstyledboolean | undefinedNoThe unstyled member uses the boolean | undefined contract.
variantstring | undefinedNoThe variant member uses the string | undefined contract.
size"sm" | "md" | "lg" | undefinedNoThe 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-theme

On this page