Skip to content

Commit fcc0603

Browse files
author
Eric Olkowski
committed
Updated prop description
1 parent baaae5f commit fcc0603

File tree

1 file changed

+1
-1
lines changed
  • packages/react-core/src/components/Switch

1 file changed

+1
-1
lines changed

packages/react-core/src/components/Switch/Switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface SwitchProps
1616
label?: React.ReactNode;
1717
/** Adds an accessible name to the switch when the label prop is not passed, and must describe the isChecked="true" state. */
1818
'aria-label'?: string;
19-
/** Adds an accessible name to the switch via a list of referenced id's. The computed accessible name must describe the isChecked="true" state. */
19+
/** Adds an accessible name to the switch via one or more referenced id(s). The computed accessible name must describe the isChecked="true" state. */
2020
'aria-labelledby'?: string;
2121
/** Flag to show if the switch is checked when it is controlled by React state.
2222
* To make the switch uncontrolled instead use the defaultChecked prop, but do not use both.

0 commit comments

Comments
 (0)