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 4412ce1 commit 2145df8Copy full SHA for 2145df8
packages/button/src/Button/Button.spec.tsx
@@ -261,6 +261,10 @@ describe('packages/button', () => {
261
<Button onClick={() => {}} />;
262
});
263
264
+ test('infers the onClick handler argument', () => {
265
+ <Button onClick={event => {}} />;
266
+ });
267
+
268
test('accepts anchor tag attributes', () => {
269
<Button href="http://mongodb.design" target="_blank" rel="noopener" />;
270
0 commit comments