✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Type alias CustomWidgetComponent<Props>
CustomWidgetComponent: <
Props
> (props
) =>ReactNode
A user-defined custom widget component. This is can be specified when registering a
custom widget with registerCustomWidget
from the useCustomWidgets
hook.
# Type parameters
Parameter | Default |
---|---|
Props | CustomWidgetComponentProps |
# Parameters
Parameter | Type |
---|---|
props | Props |
# Returns
ReactNode