How to get properties of a component without using event

前端 未结 0 541
南笙
南笙 2020-12-03 15:01

Consider I have a parent component Like

const [ top , setTop ] = useState(0);
const Parent = () => {
    return (
        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题