Skip to content

Commit 33087f7

Browse files
calebdejiooade
authored andcommitted
refactor: change Container props to as
1 parent e5d3136 commit 33087f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('ClickAway Listener', () => {
2323
});
2424
it('it should wrap children around the element type specified', () => {
2525
const { container } = render(
26-
<ClickAwayListener Container="article" onClickAway={() => null}>
26+
<ClickAwayListener as="article" onClickAway={() => null}>
2727
hello best
2828
</ClickAwayListener>
2929
);

0 commit comments

Comments
 (0)