<Avatar>A</Avatar>
<Avatar size="small">A</Avatar>
<Avatar shape="square">A</Avatar>
<Avatar.Group maxCount={2}>
<Avatar>A</Avatar>
<Avatar>A</Avatar>
<Avatar>A</Avatar>
<Avatar>A</Avatar>
</Avatar.Group>
4
99+
<Badge count={4}><MailOutlined /></Badge>
<Badge count={100} overflowCount={99}><MailOutlined /></Badge>
<Badge dot><MailOutlined /></Badge>
<Badge status="success" count={1}><MailOutlined /></Badge>
<Tag>Default</Tag>
<Tag.CheckableTag checked={false}>Checkable tag</Tag.CheckableTag>
<Tag.CheckableTag checked={true}>Checked tag</Tag.CheckableTag>
<Tag color="success">Success tag</Tag>
<Tag closable color="red">Delete</Tag>
<List
header="List title"
footer="List footer"
bordered
dataSource={["Item 1", "Item 2", "Item 3"]}
renderItem={(item) => <List.Item>{item}</List.Item>}
/>
Id | Name | City | ||
---|---|---|---|---|
1 | Item 1 | Amsterdam | ||
2 | Item 2 | Berlin | ||
3 | Item 3 | New York | ||
4 | Item 4 | Tokio | ||
5 | Item 5 | Brussels | ||
6 | Item 6 | Barcelona |
<Table
dataSource={tableData}
expandable={{expandedRowRender: (row) => row.name}}
columns={[
{
title: "Id",
dataIndex: "id",
key: "id",
sorter: (a, b) => a.id - b.id,
sortDirections: ["descend"],
},
{
title: "Name",
dataIndex: "name",
key: "name",
onFilter: (value: any, record) =>record.name.indexOf(value) === 0,
filters: [
{
text: "Amsterdam",
value: "Amsterdam",
}
],
},
{
title: "City",
dataIndex: "city",
key: "city",
}
]}
rowSelection={{type: "checkbox"}}
/>
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
01 | 02 | 03 | 04 | 05 | 06 | 07 |
08 | 09 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 01 | 02 | 03 | 04 | 05 |
06 | 07 | 08 | 09 | 10 | 11 | 12 |
<Calendar />
<Carousel>
<div className="red" />
<div className="blue" />
<div className="green" />
</Carousel>
<Comment
actions={[<LikeOutlined />, <DislikeOutlined />]}
author="Han Solo"
avatar={<Avatar>H</Avatar>}
content={<p>I've got a bad feeling about this..</p>}
datetime="2021-04-08"
/>
<Statistic title="Some statistic" value={112893} />
<Statistic
prefix="€"
title="Some prefixed statistic"
value={50}
precision={2}
/>
<Statistic.Countdown
title="Some countdown"
value={deadline}
format="HH:mm:ss"
/>
I've got a bad feeling about this..