ComponentTheme
interface exported by @mwillbanks/tuil-theme.
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
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
defaultProps | Readonly<Record<string, unknown>> | undefined | No | The defaultProps member uses the Readonly<Record<string, unknown>> | undefined contract. | — |
variants | Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined | No | The variants member uses the Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined contract. | — |
sizes | Readonly<Record<string, Readonly<Record<string, unknown>>>> | undefined | No | The 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.
Related types
No package-local related types.
Source
View the secondary source reference