Nominating Presidential Muppets

    @technote-space/use-material-table-icons
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.20 • Public • Published

    Use Material Table Icons

    npm version CI Status codecov CodeFactor License: MIT

    React hook to get icons for material table.

    Table of Contents

    Details

    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

    GitHub (Technote)
    Blog

    Install

    npm i @technote-space/use-material-table-icons

    DownloadsWeekly Downloads

    27

    Version

    0.1.20

    License

    MIT

    Unpacked Size

    11.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • technote