OptionalcheckedCurrent boolean state.
OptionalcharactersCharacter tokens for on/off/disabled states.
OptionaldisabledWhether focus and toggling are unavailable.
OptionalfocusedWhether the switch currently owns terminal focus.
Non-empty, single-line switch label.
OptionaloffText rendered for the off state.
OptionalonText rendered for the on state.
OptionalwidthMaximum terminal-cell width of the rendered row.
Options accepted by renderSwitch.