Skip to content

Commit

Permalink
fix: change label from span to div (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX authored Mar 16, 2022
1 parent 72b28df commit 6d2d172
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const InternalSegmentedOption: React.FC<{
checked={checked}
onChange={handleChange}
/>
<span className={`${prefixCls}-item-label`}>{label}</span>
<div className={`${prefixCls}-item-label`}>{label}</div>
</label>
);
};
Expand Down
Loading

0 comments on commit 6d2d172

Please sign in to comment.