1.0.4 • Published 2 years ago

table-react-qvc-mui v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation

npm i table-react-qvc-mui

Usage

import './App.css';
import ReactTable from "./Table/Table";
import '@mui/material';

function App() {

    function createData(name, calories, fat, carbs, protein) {
        return { name, calories, fat, carbs, protein };
    }

    const rows = [
        createData('Frozen yoghurt', 159, 6.0, 24, 4.0),
        createData('Ice cream sandwich', 237, 9.0, 37, 4.3),
        createData('Eclair', 262, 16.0, 24, 6.0),
        createData('Cupcake', 305, 3.7, 67, 4.3),
        createData('Gingerbread', 356, 16.0, 49, 3.9),
    ];


    return (
    <div className="App">
      <ReactTable item={rows} />
    </div>
  );
}

export default App;