项目作者: votsa

项目描述 :
React table components
高级语言: JavaScript
项目地址: git://github.com/votsa/react-table-components.git
创建时间: 2017-04-04T14:48:11Z
项目社区:https://github.com/votsa/react-table-components

开源协议:MIT License

下载


React table components

React components for creating tables with specific controls

Demo: (https://votsa.github.io/react-table-components/)

Installation

You can install react-table-components with npm:

  1. npm install react-table-components --save

This package has 2 containers which include full functionality of react-table-components.

First one is bootstrap container which requires Bootstrap stylesheets and Font Awesome fonts

  1. <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" />
  2. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" />

and

  1. import { BootstrapContainer } from 'react-table-components';
  2. import 'react-table-components/styles/styles.css';

Second one is material design container which requires Material Design Lite stylesheets and Material icon font

  1. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
  2. <link href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css" rel="stylesheet" />

and

  1. import { MaterialContainer } from 'react-table-components';
  2. import 'react-table-components/styles/styles.css';