Added htmlFor prop on Switch

• Added:
- htmlFor prop on Switch
This commit is contained in:
mgabdev 2020-09-02 17:54:50 -05:00
parent 8d07aa7564
commit b39d186727
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Switch extends React.PureComponent {
return (
<div className={[_s.d, _s.flexRow, _s.py5, _s.aiCenter].join(' ')}>
<Text {...labelProps} className={_s.mr10}>
<Text {...labelProps} htmlFor={id} className={_s.mr10}>
{label}
</Text>