Created
June 25, 2019 16:32
-
-
Save dhimasanb/516e6a72785ab2a1041f18f603bfac9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Table } from "antd"; | |
import column from "./column"; | |
const dataTable = ({ dataSource }) => { | |
return ( | |
<Table | |
pagination={false} | |
dataSource={dataSource} | |
columns={[ | |
column("No", "no", 200), | |
column("Quantity", "quantity", 200), | |
column("Rupiah", "rupiah", 200) | |
]} | |
/> | |
); | |
}; | |
export default dataTable; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment