tron-v1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

57 lines
1.4 KiB

import React from "react";
import { Card, Progress, Row, Space, Tooltip, Typography } from "antd";
import { AppstoreOutlined, QuestionCircleOutlined } from "@ant-design/icons";
import Link from "antd/lib/typography/Link";
const { Title } = Typography;
const VoteCard: React.FC = () => {
return (
<Card
title={
<div
style={{
display: "flex",
justifyContent: "space-between",
alignItems: "center",
}}
>
<div>
<AppstoreOutlined />
</div>
<Link></Link>
</div>
}
hoverable
>
<Row justify="space-between">
<div>
<Tooltip
title={
"投票权 (TP) 用来给 TRON SR 投票,用户可以通过质押 TRX 来获得投票权。"
}
>
<QuestionCircleOutlined />
</Tooltip>
</div>
<div>0.0</div>
</Row>
<Progress percent={30} size="small" />
<Row justify="space-between">
<div>APY</div>
<div>0.0%</div>
</Row>
<Row justify="space-between">
<div></div>
<div>0TRX</div>
</Row>
<Space>
<button></button>
<button></button>
</Space>
</Card>
);
};
export default VoteCard;