0.2.0 ā¢ Published 1 year ago
@omakase-ui/react-table v0.2.0
Welcome to @omakase-ui/react-table š
Omakase React Table Component.
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
- Website: https://thaddeusjiang.com/
- Twitter: @ThaddeusJiang
- Github: @ThaddeusJiang
š¤ 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
0.1.10
1 year ago
0.1.11
1 year ago
0.1.12
1 year ago
0.1.13
1 year ago
0.1.14
1 year ago
0.2.0-rc.1
1 year ago
0.2.0
1 year ago
0.1.8-rc.1
1 year ago
0.1.8
1 year ago
0.1.9
1 year ago
0.1.4-rc.1
2 years ago
0.1.6-rc.2
2 years ago
0.1.6-rc.1
2 years ago
0.1.6-rc.4
2 years ago
0.1.7-rc.1
2 years ago
0.1.6-rc.3
2 years ago
0.1.6-rc.5
2 years ago
0.1.5-rc.1
2 years ago
0.1.7
2 years ago
0.1.4
2 years ago
0.1.6
2 years ago
0.1.5-rc.2
2 years ago
0.1.5-rc.3
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago