import { Template } from "interface/template"; import { Container, Heading, Text, Box, Flex, Card, Button, TextField, Switch, Tabs, TextArea, } from "@radix-ui/themes"; import { GearIcon, PersonIcon, LockClosedIcon, BellIcon, GlobeIcon, } from "@radix-ui/react-icons"; import { useState } from "react"; export default new Template({}, ({ http, args }) => { const [siteName, setSiteName] = useState("我的博客"); const [siteDescription, setSiteDescription] = useState("一个优雅的博客系统"); const [emailNotifications, setEmailNotifications] = useState(true); return ( 系统设置 常规设置 个人资料 安全设置 通知设置 {/* 常规设置 */} 站点名称 ) => setSiteName(e.target.value) } /> 站点描述