✅ You are viewing documentation for the latest version of Compose SDK.
Version:
# Interface CustomWidgetComponentProps<DataOptions, StyleOptions>
Props passed to a user-defined custom widget component.
# Type parameters
| Parameter | Default |
|---|---|
DataOptions | GenericDataOptions |
StyleOptions | any |
# Properties
# dataOptions
dataOptions:
DataOptions
# dataSource
dataSource?:
DataSource
# description
description?:
string
# filters
filters?:
FilterRelations|Filter[]
# highlights
highlights?:
Filter[]
# styleOptions
styleOptions:
StyleOptions& {height:number;width:number; }
#
styleOptions.heightheight?:
numberThe height of the custom widget component.
#
styleOptions.widthwidth?:
numberThe width of the custom widget component.