import { Avatar } from '@astryxdesign/core/Avatar' import { Badge } from '@astryxdesign/core/Badge' import { Divider } from '@astryxdesign/core/Divider' import { HStack } from '@astryxdesign/core/HStack' import { List, ListItem } from '@astryxdesign/core/List' import { Text } from '@astryxdesign/core/Text' import { Table, pixel, proportional } from '@astryxdesign/core/Table' import type { TableColumn } from '@astryxdesign/core/Table' import { VStack } from '@astryxdesign/core/VStack' interface Member extends Record { id: string name: string role: string projects: number } const MEMBERS: Member[] = [ { id: '1', name: '林晓', role: '产品设计', projects: 4 }, { id: '2', name: '陈默', role: '前端开发', projects: 7 }, { id: '3', name: '周雨', role: '内容运营', projects: 3 }, ] const COLUMNS: TableColumn[] = [ { key: 'name', header: '成员', width: proportional(1) }, { key: 'role', header: '角色', width: proportional(1) }, { key: 'projects', header: '进行中', width: pixel(90) }, ] export function DataDemo() { return ( } endContent={} /> } endContent={} /> } endContent={} /> 团队进度 数据表格 ) }