Browse Source

docs: fix SyntaxError in datepicker en-us doc

zhangyumei.0319 1 năm trước cách đây
mục cha
commit
583ea2a1ee

+ 2 - 1
content/input/datepicker/index-en-US.md

@@ -965,7 +965,8 @@ function Demo() {
     const ref = useRef();
     const ref = useRef();
     // Typescript
     // Typescript
     // const ref = useRef<BaseDatePicker>();
     // const ref = useRef<BaseDatePicker>();
-    // Why not import the DatePicker exported by the entry? -> The entry component is a forwardRef component, and the ref is transparently passed to this component
+    // Why not import the DatePicker exported by the entry? 
+    // The entry component is a forwardRef component, and the ref is transparently passed to this component
 
 
     const handleClickOutside = () => {
     const handleClickOutside = () => {
         console.log('click outside');
         console.log('click outside');