tuil
ReferencePackages@mwillbanks/tuil-themeAPI

ComponentTheme

interface exported by @mwillbanks/tuil-theme.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-theme.

export interface ComponentTheme {
  readonly defaultProps?: Readonly<Record<string, unknown>>;
  readonly variants?: Readonly<
    Record<string, Readonly<Record<string, unknown>>>
  >;
  readonly sizes?: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
}

Members

MemberTypeRequiredDescriptionRelated types
defaultPropsReadonly<Record<string, unknown>> | undefinedNoThe defaultProps member uses the Readonly<Record<string, unknown>> | undefined contract.
variantsReadonly<Record<string, Readonly<Record<string, unknown>>>> | undefinedNoThe variants member uses the Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined contract.
sizesReadonly<Record<string, Readonly<Record<string, unknown>>>> | undefinedNoThe sizes member uses the Readonly<Record<string, Readonly<Record<string, unknown>>>> | 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.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-theme

On this page