import { useState } from 'react' import { Button } from '@astryxdesign/core/Button' import { HStack } from '@astryxdesign/core/HStack' import { Icon } from '@astryxdesign/core/Icon' import { IconButton } from '@astryxdesign/core/IconButton' import { Kbd } from '@astryxdesign/core/Kbd' import { Link } from '@astryxdesign/core/Link' import { SegmentedControl, SegmentedControlItem, } from '@astryxdesign/core/SegmentedControl' import { Text } from '@astryxdesign/core/Text' import { ToggleButton, ToggleButtonGroup } from '@astryxdesign/core/ToggleButton' import { Toolbar } from '@astryxdesign/core/Toolbar' import { VStack } from '@astryxdesign/core/VStack' import { Heart, List, LayoutGrid } from 'lucide-react' export function ActionsDemo() { const [layout, setLayout] = useState('网格') const [view, setView] = useState('概览') return (