0.1.22 • Published 3 years ago
@technote-space/use-material-table-icons v0.1.22
Use Material Table Icons
React hook to get icons for material table.
Table of Contents
Usage
Install
yarn add @technote-space/use-material-table-icons
or
npm i @technote-space/use-material-table-icons
Use
e.g.
import type {FC} from 'react';
import {memo} from 'react';
import MaterialTable from '@technote-space/material-table';
import useTableIcons from '@technote-space/use-material-table-icons';
const TestTable: FC = memo(() => {
const tableIcons = useTableIcons();
// ...
return <MaterialTable
icons={tableIcons}
// title={title}
// columns={columns}
// data={fetchData}
// ...
/>
});
Author
0.1.22
3 years ago
0.1.20
4 years ago
0.1.21
3 years ago
0.1.19
4 years ago
0.1.18
4 years ago
0.1.17
4 years ago
0.1.16
4 years ago
0.1.15
4 years ago
0.1.14
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.11
4 years ago
0.1.10
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago