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 edefaf9 commit 13b7b19Copy full SHA for 13b7b19
docs/examples/multiple.tsx
@@ -3,7 +3,7 @@ import '../../assets/index.less';
3
import type { PickerRef } from '../../src/interface';
4
import SinglePicker from '../../src/PickerInput/SinglePicker';
5
6
-import dayjs, { type Dayjs } from 'dayjs';
+import dayjs from 'dayjs';
7
import 'dayjs/locale/ar';
8
import 'dayjs/locale/zh-cn';
9
import LocalizedFormat from 'dayjs/plugin/localizedFormat';
@@ -26,8 +26,6 @@ const sharedLocale = {
26
export default () => {
27
const singleRef = React.useRef<PickerRef>(null);
28
29
- const [value, setValue] = React.useState<Dayjs>(null);
30
-
31
return (
32
<div>
33
<SinglePicker {...sharedLocale} multiple ref={singleRef} onOpenChange={console.error} />
0 commit comments