{
"data": {
"socializer.near": {
"post": {
"commit": {
"keys": "[\"socializer.near/widget/TxHistory/branch/draft\"]"
}
},
"widget": {
"TxHistory": {
"branch": {
"draft": {
"": "const Owner = \"socializer.near\";\nconst API_URL = props?.API_URL || \"http://localhost:3000\";\nconst data = props?.data || [];\n\nconst columns = [\n {\n title: \"S.No\",\n key: \"no\",\n width: 20,\n align: \"left\",\n },\n {\n title: \"Amount\",\n key: \"amount\",\n width: 20,\n align: \"left\",\n },\n {\n title: \"Transaction\",\n key: \"hash\",\n width: 20,\n align: \"left\",\n icon: (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"30\"\n height=\"30\"\n viewBox=\"0 0 48 48\"\n >\n <g\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-linejoin=\"round\"\n stroke-width=\"4\"\n >\n <rect width=\"30\" height=\"36\" x=\"9\" y=\"8\" rx=\"2\" />\n <path\n stroke-linecap=\"round\"\n d=\"M18 4v6m12-6v6m-14 9h16m-16 8h12m-12 8h8\"\n />\n </g>\n </svg>\n ),\n link: true,\n click: () => {},\n },\n {\n title: \"Transaction Type\",\n key: \"type\",\n width: 20,\n align: \"left\",\n },\n {\n title: \"Date\",\n key: \"date\",\n width: 20,\n align: \"left\",\n },\n];\n\nconst TxComponent = styled.div`\n display: flex;\n width: 100%;\n background: #F3F3F3;\n flex-direction: column;\n padding: 6px 24px;\n border-radius: 8px;\n border: 1px solid var(--light_90, #E6E6E6);\n gap: 20px;\n`;\n\nreturn (\n <TxComponent>\n <h4>{`Transaction Ledger`}</h4>\n <Widget\n src={`${Owner}/widget/table-pagination`}\n props={{\n API_URL,\n themeColor: { table_pagination: themeColor.table_pagination },\n data,\n columns,\n rowsCount: 4,\n }}\n />\n </TxComponent>\n);\n"
}
}
}
}
}
}
}