Make TextInput label real, add aria-label to icon buttons
This commit is contained in:
parent
9581a63e81
commit
4b8491cf99
7 changed files with 124 additions and 97 deletions
|
@ -1,9 +1,9 @@
|
|||
import React from 'react';
|
||||
import classnames from 'classnames';
|
||||
|
||||
const Checkbox = ({ name, label, topLabel, ...props }) => (
|
||||
const Checkbox = ({ name, label, topLabel, classNameLabel, ...props }) => (
|
||||
<label
|
||||
className={classnames('checkbox', {
|
||||
className={classnames('checkbox', classNameLabel, {
|
||||
'top-label': topLabel
|
||||
})}
|
||||
htmlFor={name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue