@noveo/react-components
v0.0.16
Published
Noveo React Components
Downloads
18
Keywords
Readme
Noveo React Components
React Components - wrapper for @noveo/web-components.
Web Components was designed using Noveo UI Kit and built on Stencil.
These wrappers were written because React supports web-components only for 71%: React web-components support.
Documentation for UI kit is available in Storybook.
Installation
By npm
:
npm install @noveo/react-components --save
Or by yarn
:
yarn add @noveo/react-components
IMPORTANT! Almost all Noveo components depend on the nv-icon
component to render icons,
so make sure to follow the instructions for that component before using the others!
Usage
import { NvButton } from '@noveo/react-components';
const EditButton = ({ handleClick, text }) => (
<NvButton color="success" onClick={handleClick}>
{text}
</NvButton>
);