Skip to content

Commit

Permalink
chore: export directly
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jul 13, 2022
1 parent de15740 commit cb11682
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Tooltip from './Tooltip';
import Popup from './Popup';

export { Popup };

export default Tooltip;
8 changes: 8 additions & 0 deletions tests/popup.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Popup } from '../src';

describe('Popup', () => {
// Used in antd for C2D2C
it('should export', () => {
expect(Popup).toBeTruthy();
});
});

0 comments on commit cb11682

Please sign in to comment.