📜  使用 Reach 的对话框 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:53.237000             🧑  作者: Mango

代码示例1
function Example(props) {  const [showDialog, setShowDialog] = React.useState(false);  const open = () => setShowDialog(true);  const close = () => setShowDialog(false);
  return (    

Hello there. I am a dialog

);}