jri
jk-react-islands
npm i jk-react-islands
jri

jk-react-islands

react-islands Components Library

by Vladimir Varankin

0.20.3 (see all)License:MITTypeScript:Not Found
npm i jk-react-islands
Readme

react-islands

NPM version Build Status Dependency Status devDependency Status

A set of react components implementing Yandex's islands design.

Check out showcase page first. react-islands showcase

Usage

react-islands can be installed as an npm package:

npm install --save react-islands

Require and use components:

import React from 'react';
import ReactDOM from 'react-dom';
import Button from 'react-islands/components/Button';

ReactDOM.render(
    React.createElement(Button, { theme: 'islands', size: 'm' }, 'Click me!'),
    document.getElementById('root'));

You can use named import as well, however this may lead to the unwanted growth of the bundle. Considder to use technics like tree-shaking in this case.

import { Button, Link } from 'react-islands';

// ...

Development

npm install

Examples

npm start

Open http://localhost:3000/build/.

Tests

› npm test

or

› mocha --watch --compilers js:babel-register -r jsdom-global/register blocks/**/test.js

License

MIT

Downloads/wk

1

GitHub Stars

121

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

7

OPEN ISSUES

15

OPEN PRs

5
VersionTagPublished
0.20.3
latest
4yrs ago
0.19.0-alpha.1
react16
4yrs ago
0.18.0-beta.2
beta
4yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate