Ver Fonte

docs: fix SyntaxError in datepicker en-us doc

zhangyumei.0319 há 10 meses atrás
pai
commit
583ea2a1ee
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      content/input/datepicker/index-en-US.md

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

@@ -965,7 +965,8 @@ function Demo() {
     const ref = useRef();
     // Typescript
     // 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 = () => {
         console.log('click outside');