import * as React from "react"; import { TableBuilder, TableBuilderColumn } from "baseui/table-semantic"; import { Avatar } from "baseui/avatar"; import { Button, KIND, SIZE } from "baseui/button"; import { Tag } from "baseui/tag"; import { useStyletron } from "baseui"; import { ArrowUp, ArrowDown } from "baseui/icon"; const ROW = { foo: 10, bar: "banana", url: "https://example.com/b", largeNumber: 1000000, avatarSrc: "https://avatars.dicebear.com/api/human/3.svg?width=285&mood=happy", name: "User Name", title: "Job Title", list: ["One", "Two", "Three"], }; type Row = typeof ROW; const DATA = Array.from(new Array(20)).fill(ROW); function AvatarCell({ src, title, subtitle, }: { src: string; title: string; subtitle: string; }) { const [css, theme] = useStyletron(); return (
{title}
{subtitle}