StatefullComponent()<S>
StatefullComponent<
S
>: (state
) =>TemplateResult
Represents a function that returns a TemplateResult for a stateful component.
Type parameters
Type parameter | Description |
---|---|
S extends Record <string , any > | The type of the component state. |
Parameters
Parameter | Type | Description |
---|---|---|
state | S | The current state of the component. |
Returns
TemplateResult