2022-11-09 12:28:04 +08:00
|
|
|
import React from 'react';
|
2022-11-17 23:19:28 +08:00
|
|
|
import { Badge, Card, Space } from 'antd';
|
2022-11-09 12:28:04 +08:00
|
|
|
|
|
|
|
const App: React.FC = () => (
|
2022-11-17 23:19:28 +08:00
|
|
|
<Space direction="vertical" size="middle" style={{ width: '100%' }}>
|
2022-11-09 12:28:04 +08:00
|
|
|
<Badge.Ribbon text="Hippies">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="pink">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="red">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="cyan">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="green">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="purple">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="volcano">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
|
|
|
<Badge.Ribbon text="Hippies" color="magenta">
|
|
|
|
<Card title="Pushes open the window" size="small">
|
|
|
|
and raises the spyglass.
|
|
|
|
</Card>
|
|
|
|
</Badge.Ribbon>
|
2022-11-17 23:19:28 +08:00
|
|
|
</Space>
|
2022-11-09 12:28:04 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
export default App;
|