label
Description
Optional. Specifies the label of a checkboxUsage
label?: string;
Example
<Checkbox label="myCheckbox" />
Details
By default, a label is placed to the right of a checkbox. It is also possible to put a label to the left of a checkbox with the help of the <Field>
component. Read the details in the related article.
Related article: Adding a label
Related sample: Checkbox