Skip to main content

StatefullComponent()<S>

StatefullComponent<S>: (state) => TemplateResult

Represents a function that returns a TemplateResult for a stateful component.

Type parameters

Type parameterDescription
S extends Record<string, any>The type of the component state.

Parameters

ParameterTypeDescription
stateSThe current state of the component.

Returns

TemplateResult