Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix(InlineList): Enforce separate 'as' props
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Mar 18, 2020
1 parent 41d38fe commit 447677f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InlineList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const InlineList = ({as, itemAs, children, display, ...otherProps}) => {
{React.Children.map(children, (child, i) => {
if (child) {
return (
<Item key={i} as={itemAs || as} display={display}>
<Item key={i} as={itemAs} display={display}>
{child}
</Item>
);
Expand Down

0 comments on commit 447677f

Please sign in to comment.