1.0.11 • Published 5 years ago

react-independent-components v1.0.11

Weekly downloads
49
License
-
Repository
-
Last release
5 years ago

Get Started

Run storybook:

$ npm i
$ npm run storybook

Navigate to http://localhost:9001 to view your stories. They should automatically update as you develop.

Storybook will pick up any story from the stories.js file in a component folder.

Build project with components:

$ npm run build

Install by npm:

$ npm install react-independent-components

Usage example:

import React, { Component } from 'react';
import { Icon } from 'react-independent-components';
import './App.css';

class App extends Component {
  render() {
    return (
      <div>
        <Icon iconName='phone' fontSize='30px' onClick={() => alert("Works")}/>
      </div>
    );
  }
}

export default App;
/* App.css */

.icon-speed-ops {
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-speed-ops-phone:before {
	content: '\2706';
}
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago