generic-components
v0.1.12
Published
Set of the reusable components made of `semantic-ui-react` as a base
Downloads
6
Maintainers
Readme
Set of the reusable components made of semantic-ui-react
as a base
100% compatible with projects bootstrapped with create-react-app since
was transpiled using react-app
babel preset.
How to install:
npm i generic-components --save
or:
yarn add generic-components
if you use Yarn instead of the npm.
Usage:
import React, { Component } from "react";
import Button from "generic-components/Button";
// supported too but not recommended
// import { Button } from "generic-components";
class App extends Component {
render() {
return (
<div>
<Button>Hello World!</Button>
</div>
);
}
}