react-fast-ui v13.1.0
#React Fast UI
A library of layout-related components for re-use across all Fastmodel React applications.
Installation
yarn add react-fast-uiUsage
You must import the CSS file for the sidebar and modal to work properly. Most other styles are inline. Then you can import the individual components you need.
import 'react-fast-ui/css/index.css';
// e.g.
import { Modal, Sidebar } from 'react-fast-ui';Contribution
If you are going to add a component to this library, make sure that it is universally useful to our apps. Then follow these steps to develop your component:
Run
npm run demo-build:watchfrom the command line.Open
index.htmlin your browser.Create your component file in
src/components. Export your class and make sure that the class has a staticdemofunction that returns a<Demo/>component.Add your component's class name to the
COMPONENTSarray inindex.js.Now you can write your component as normal. In order to see what you are working on, you will have to update the demo simultaneously. This will allow you to manually test your work in isolation in the
index.htmlpage you have open in your browser.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago