The Switch enables you to control the title of its labels.
You can use the labels for displaying additional information about the active or inactive options. To set the behavior of the labels, use the
messages prop which defines the text of the
unchecked labels. All labels support localization.