Socket
Book a DemoInstallSign in
Socket

@omakase-ui/react-table

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omakase-ui/react-table

Omakase React Table Component.

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
2
Created
Source

Welcome to @omakase-ui/react-table 👋

Omakase React Table Component.

Version Documentation Maintenance License: MIT Twitter: ThaddeusJiang

features

  • out of box react table component with beautiful style.
  • resize column size of table.
  • automatic animations

🏠 Homepage

Demo

Install

yarn add @omakase-ui/react-table @tanstack/react-table

Usage

if you don't use Tailwind CSS

import { DataTable } from '@omakase-ui/react-table';
import '@omakase-ui/react-table/dist/index.css';

<DataTable columns={columns} data={data} sort={['name', 'asc']} />;

if you use Tailwind CSS

import { DataTable } from '@omakase-ui/react-table';

<DataTable columns={columns} data={data} sort={['name', 'asc']} />;

modify tailwind.config.js

// tailwind.config.js
+ const path = require("path");

module.exports = {
  content: [
    "./src/**/*{js,ts,jsx,tsx}",
+    path.join(
+      require.resolve("@omakase-ui/react-table"),
+      "../**/*.{js,ts,jsx,tsx}"
+    ),
  ],
  theme: {},
  plugins: [],
};

Author

👤 Thaddeus Jiang

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Thaddeus Jiang.

This project is MIT licensed.

This README was generated with ❤️ by readme-md-generator

Keywords

React.js

FAQs

Package last updated on 30 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts