✅ 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.height
height?:
number
The height of the custom widget component.
#
styleOptions.width
width?:
number
The width of the custom widget component.