Bläddra i källkod

docs: fix SyntaxError in datepicker en-us doc

zhangyumei.0319 10 månader sedan
förälder
incheckning
583ea2a1ee
1 ändrade filer med 2 tillägg och 1 borttagningar
  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');