Skip to content

Commit

Permalink
fix:badge others props for sup element
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Aug 28, 2017
1 parent 052088b commit 86b60b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Badge/Badge.jsx
Expand Up @@ -19,9 +19,9 @@ class Badge extends PureComponent {
});

return (
<span className={cls} {...others}>
<span className={cls}>
{children}
<sup className={supCls}>{text}</sup>
<sup className={supCls} {...others}>{text}</sup>
</span>
);
}
Expand Down

0 comments on commit 86b60b9

Please sign in to comment.