Skip to content

Commit 28302f4

Browse files
committed
refactor(checkbox, radio, switch): align with blazor samples
1 parent 4c27e93 commit 28302f4

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

samples/inputs/checkbox/label/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default class CheckboxLabel extends React.Component<any, any> {
1414
public render(): JSX.Element {
1515
return (
1616
<div className="sample">
17+
<IgrCheckbox labelPosition="before">Label</IgrCheckbox>
1718
<div className="wrapper">
1819
<span id="checkbox-label">Label</span>
1920
<IgrCheckbox aria-labelledby="checkbox-label" labelPosition="before"></IgrCheckbox>

samples/inputs/radio/label/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class RadioLabel extends React.Component<any, any> {
1818
<IgrRadioGroup alignment="vertical">
1919
<IgrRadio name="fruit" value="apple" labelPosition="before"><span>Apple</span></IgrRadio>
2020
<div className="wrapper">
21-
<span id="radio-label">Label</span>
21+
<span id="radio-label">Orange</span>
2222
<IgrRadio
2323
name="fruit"
2424
labelPosition="before"

samples/inputs/switches/label/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default function SwitchLabel() {
99

1010
return (
1111
<div className="sample">
12+
<IgrSwitch labelPosition="before">Label</IgrSwitch>
1213
<div className="wrapper">
1314
<IgrSwitch aria-labelledby="switchLabel" labelPosition="before"><span id="switch-label">Label</span></IgrSwitch>
1415
</div>

0 commit comments

Comments
 (0)