import React from 'react'; /** The ids a control needs to be named and described by the row. */ export interface SettingRowIds { labelId: string; descriptionId?: string; } export interface SettingRowProps extends Omit, 'children'> { /** The setting's name. It becomes the control's accessible name. */ label: React.ReactNode; /** What the setting does, announced with the control. */ description?: React.ReactNode; /** * The control. Pass it as an element — ``, `