fix(ui-toolkit): don't pass input specific props to checkbox li
This commit is contained in:
parent
f055118c2a
commit
18f2ace3e9
@ -23,9 +23,7 @@ const Ul = styled.ul`
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const CheckboxItem = BaseInput(({ children, id, ...rest }) => (
|
const CheckboxItem = BaseInput(({ children }) => <Li>{children}</Li>);
|
||||||
<Li {...rest}>{children}</Li>
|
|
||||||
));
|
|
||||||
|
|
||||||
const Checkbox = Baseline(
|
const Checkbox = Baseline(
|
||||||
BaseInput(
|
BaseInput(
|
||||||
|
Loading…
Reference in New Issue
Block a user