import { useState } from 'react' import { Banner } from '@astryxdesign/core/Banner' import { Button } from '@astryxdesign/core/Button' import { HStack } from '@astryxdesign/core/HStack' import { Switch } from '@astryxdesign/core/Switch' import { TextArea } from '@astryxdesign/core/TextArea' import { TextInput } from '@astryxdesign/core/TextInput' import { VStack } from '@astryxdesign/core/VStack' export function InputsDemo() { const [name, setName] = useState('模板项目') const [description, setDescription] = useState( '一个使用 Astryx 搭建的 React 应用。', ) const [updates, setUpdates] = useState(true) const [saved, setSaved] = useState(false) return (