rn-scrollable-table
v0.0.2
Published
it is a table which is scrollable in both direction Horizontal and Vertical
Downloads
26
Maintainers
Readme
step 1: import ScrollableTable from 'rn-scrollable-table'
step 2:
<ScrollableTable
headerData={headerData}
tableData={tableData}
/>
Example of Header and body data in below format:
var headerData = ["Ornaments", "Total", "Weight", "Total Sold Out", "Weight", "Net. Weight", "In Stock", "Status"] var tableData = [ { key1: "Zumkha", key2: "2", key3: "987KB89", key4: "12/08/2022", key5: "22g", key6: "20g", key7: "75", key8: "Sold" }, { key1: "Zumkha 2", key2: "22", key3: "087KB89", key4: "12/08/2020", key5: "20g", key6: "10g", key7: "5", key8: "available" }, ]