Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / SectionControlProps
Interface: SectionControlProps
Properties of the SectionControl React component.
Properties
children?
optionalchildren?:ReactNode
Children that will be included in this section.
collapsed?
optionalcollapsed?:boolean
The current collapsed state.
collapsedChange?
optionalcollapsedChange?: (value) =>void
Callback that will be called when this section has been collpsed or expanded.
Parameters
value
boolean
The new collapsed state.
Returns
void
collapsible?
optionalcollapsible?:boolean
Sets to true if this section should be collapsible.
summary?
optionalsummary?:string
A summary that will be added to text when the section is collapsed.
text?
optionaltext?:string
Text to be displayed in the divider.
textAlign?
optionaltextAlign?:"left"|"right"|"center"
Text alignment to used in the divider.