0.0.10 • Published 5 years ago

respectre v0.0.10

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Respectre

Stateless React Components for spectre.css. https://respectre.netlify.com/

Getting Started

npm install -g create-react-app

create-react-app my-app
cd my-app/
npm start

Adding Spectre.css

npm install --save spectre.css
npm install --save respectre

Import spectre.css in the src/index.js file:

import 'spectre.css/dist/spectre.css';
import 'spectre.css/dist/spectre-icons.css'; /** optional (for-icons) **/
import 'spectre.css/dist/spectre-exp.css';  /** optional (for-experimentals) **/

Import required components within src/App.js file or your custom component files:

import { Button, ... } from 'respectre/elements';
import { Container, ... } from 'respectre/layout';
import { Avatar, ... } from 'respectre/components';
import { Calendar, ... } from 'respectre/experimentals';

Thats it.

Development

Install dependencies:

npm install

Run documentation at http://localhost:9001/

npm run storybook

Run tests

npm run test
0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago