Skip to content

Commit

Permalink
docs: fix SyntaxError in datepicker en-us doc
Browse files Browse the repository at this point in the history
  • Loading branch information
YyumeiZhang committed Dec 9, 2024
1 parent 8c62788 commit 583ea2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/input/datepicker/index-en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 583ea2a

Please sign in to comment.