Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
fix(Checkbox): Use span instead of div for label
Browse files Browse the repository at this point in the history
  • Loading branch information
kylealwyn committed Sep 18, 2019
1 parent 5aad614 commit 333abae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const CheckboxIcon = createComponent({

const CheckboxLabel = createComponent({
name: 'CheckboxLabel',
as: Flex,
as: 'span',
style: ({ theme, size }) => {
const sizeStyles = getComponentSize(theme, 'CheckboxLabel', size);

Expand Down

0 comments on commit 333abae

Please sign in to comment.