Skip to content

Commit

Permalink
Merge pull request #5018 from benevolentblend/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rall3n committed Jan 19, 2022
2 parents 0eb384b + 8bdb304 commit 4d3b1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ export default function Components() {
)
// Good: Custom component declared outside of the Select scope
const Control = props => ({ children, ...rest }) => (
<components.Control {...rest}>
const Control = ({ children, ...props }) => (
<components.Control {...props}>
👍 {children}
</components.Control>
);
Expand Down

0 comments on commit 4d3b1aa

Please sign in to comment.