Added htmlFor prop on Switch
• Added: - htmlFor prop on Switch
This commit is contained in:
parent
8d07aa7564
commit
b39d186727
@ -49,7 +49,7 @@ class Switch extends React.PureComponent {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={[_s.d, _s.flexRow, _s.py5, _s.aiCenter].join(' ')}>
|
<div className={[_s.d, _s.flexRow, _s.py5, _s.aiCenter].join(' ')}>
|
||||||
<Text {...labelProps} className={_s.mr10}>
|
<Text {...labelProps} htmlFor={id} className={_s.mr10}>
|
||||||
{label}
|
{label}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user