ncb-component
Version:
NCB design system
38 lines (37 loc) • 1.1 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Card } from "../card";
import { Table } from "../table";
import { Descriptions } from "../descriptions";
import { Space } from "../space";
import { cardInfoColumn } from "./cardInfoColumn";
const items = [
{
key: "1",
label: "Số limit thẻ",
children: "123456",
},
{
key: "2",
label: "Trạng thái limit",
children: "1810000000",
},
{
key: "3",
label: "Tổng dư nợ thẻ",
children: "",
},
{
key: "4",
label: "Hạn mức còn lại của thẻ",
children: "100000",
},
{
key: "5",
label: "Sản phẩm của Limit",
children: "",
},
];
export function CardInfo() {
return (_jsx(Card, { title: "Thông tin thẻ", children: _jsxs(Space, { className: "w-full", size: 24, direction: "vertical", children: [_jsx(Table, { pagination: false, scroll: { x: 1200 }, columns: cardInfoColumn }), _jsx(Descriptions, { items: items })] }) }));
}
export default CardInfo;