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 253d9aa commit 780415dCopy full SHA for 780415d
tests/options.test.tsx
@@ -1,14 +1,16 @@
1
import { render } from '@testing-library/react';
2
-import Select from 'rc-select';
+// import Select from 'rc-select';
3
import zhCN from '../src/locale/zh_CN';
4
import Options from '../src/Options';
5
import * as React from 'react';
6
+import { sizeChangerRender } from './commonUtil';
7
8
const WrapperOptions: React.FC<any> = (props) => (
9
<Options
10
locale={zhCN}
11
rootPrefixCls="rc-pagination"
- selectComponentClass={Select}
12
+ // selectComponentClass={Select}
13
+ sizeChangerRender={sizeChangerRender}
14
pageSize={10}
15
changeSize={jest.fn()}
16
quickGo={jest.fn()}
0 commit comments