diff --git a/docs/examples/body-overflow.tsx b/docs/examples/body-overflow.tsx index a1f8b4e8..5e87d96a 100644 --- a/docs/examples/body-overflow.tsx +++ b/docs/examples/body-overflow.tsx @@ -4,6 +4,8 @@ import React from 'react'; import '../../assets/index.less'; export default () => { + const [open, setOpen] = React.useState(false); + return (