`,
javascript: `
@@ -60,8 +41,8 @@ export default function BasicDoc() {
const [displayBasic, setDisplayBasic] = useState(false);
const dialogFuncMap = {
- 'displayBasic': setDisplayBasic,
- }
+ displayBasic: setDisplayBasic,
+ };
const onClick = (name, position) => {
dialogFuncMap[\`\${name}\`](true);
@@ -69,33 +50,21 @@ export default function BasicDoc() {
if (position) {
setPosition(position);
}
- }
+ };
- const renderFooter = (name) => {
- return (
-