项目作者: react-admin-lte

项目描述 :
Admin LTE components built with React
高级语言: TypeScript
项目地址: git://github.com/react-admin-lte/react-admin-lte.git
创建时间: 2016-08-07T21:46:19Z
项目社区:https://github.com/react-admin-lte/react-admin-lte

开源协议:MIT License

下载


reactjs-admin-lte Travis Codecov

Reactjs-Admin-LTE is a package that consists of AdminLTE components built with React.

Tip: We tried to stick to naming the components in this package after their CSS names on the
AdminLTE page. If you want to know what something looks like or how it is put together,
simply inspect that page (F12 or right click > inspect). You can Ctrl+F in the source view to look for component names, but remember to replace spaces with dashes.

For a more in-depth look at the individual components, see the docs.

Features

  • Easy to install via npm
  • Easy to use especially if you use ES6
  • Easy to read your code

Installation

You can use node package manager (npm) to install the package:

  1. $ cd path/to/project
  2. $ npm install reactjs-admin-lte

Usage

Note: This example is using ES6 syntax.

Import the components you need:

  1. import { Box } from 'reactjs-admin-lte';

And use them:

  1. <Box>
  2. <Box.Header>
  3. <Box.Title>Hello, world!</Box.Title>
  4. </Box.Header>
  5. <Box.Body>
  6. Thanks for choosing reactjs-admin-lte.
  7. </Box.Body>
  8. </Box>

Contributing

If you run into any problems or errors, report them here.

If you want to add something to the project, create a pull request here.