UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

78 lines (39 loc) 1.17 kB
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md) *** [Kvaser CanKing GUI Extensions SDK](../../modules.md) / [controls](../README.md) / SectionControlProps # Interface: SectionControlProps Properties of the SectionControl React component. ## Properties ### children? > `optional` **children**: `ReactNode` Children that will be included in this section. *** ### collapsed? > `optional` **collapsed**: `boolean` The current collapsed state. *** ### collapsedChange()? > `optional` **collapsedChange**: (`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? > `optional` **collapsible**: `boolean` Sets to true if this section should be collapsible. *** ### summary? > `optional` **summary**: `string` A summary that will be added to text when the section is collapsed. *** ### text? > `optional` **text**: `string` Text to be displayed in the divider. *** ### textAlign? > `optional` **textAlign**: `"left"` \| `"right"` \| `"center"` Text alignment to used in the divider.