Skip to content

Commit cb11682

Browse files
committed
chore: export directly
1 parent de15740 commit cb11682

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/index.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
import Tooltip from './Tooltip';
2+
import Popup from './Popup';
3+
4+
export { Popup };
25

36
export default Tooltip;

tests/popup.test.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { Popup } from '../src';
2+
3+
describe('Popup', () => {
4+
// Used in antd for C2D2C
5+
it('should export', () => {
6+
expect(Popup).toBeTruthy();
7+
});
8+
});

0 commit comments

Comments
 (0)