点击Drawer显示,控制台报错,React does not recognize the scrollLocker
prop on a DOM element.
#28711
Unanswered
hanyan123456
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import React, { useState,} from 'react';
const demo = () => {
const [visible, setVisible] = useState(false);
const showDrawer=()=>{
setVisible(true)
}
return(
Beta Was this translation helpful? Give feedback.
All reactions