We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5d3136 commit 33087f7Copy full SHA for 33087f7
__tests__/index.tsx
@@ -23,7 +23,7 @@ describe('ClickAway Listener', () => {
23
});
24
it('it should wrap children around the element type specified', () => {
25
const { container } = render(
26
- <ClickAwayListener Container="article" onClickAway={() => null}>
+ <ClickAwayListener as="article" onClickAway={() => null}>
27
hello best
28
</ClickAwayListener>
29
);
0 commit comments