SegmentedControlSegment Object
label
string (optional) - The text to appear in this segment.icon
NativeImage (optional) - The image to appear in this segment.enabled
boolean (optional) - Whether this segment is selectable. Default: true.
@electron
packages on npm will require Node.js 22 LTS. Read more on our blog.label
string (optional) - The text to appear in this segment.icon
NativeImage (optional) - The image to appear in this segment.enabled
boolean (optional) - Whether this segment is selectable. Default: true.