Seed Bible extension API (v1.19.0) / seed-bible/components / SettingRowProps
Type Alias: SettingRowProps
type SettingRowProps = {
children: ComponentChildren;
class?: string;
className?: string;
controlId?: string;
description?: ComponentChild;
label: ComponentChild;
};Properties
children
children: ComponentChildren;The control, at the row's end: usually a Switch, or a select or a button.
class?
class?: string;className?
className?: string;Extra classes, for placement. class and className both work.
controlId?
controlId?: string;The control's id. A Switch takes it from the row (in place of an id of its own), so set it here to choose the switch's id. Any other control has to be given this same id, so the label points at it.
description?
description?: ComponentChild;A line under the label saying more, read out with the control.
label
label: ComponentChild;What the setting is ("Show headings"). Names the control for screen readers too.