npm.io
0.0.16 • Published 2 years ago

@noveo/react-components

Licence
MIT
Version
0.0.16
Deps
3
Size
269 kB
Vulns
5
Weekly
0

Noveo Logo

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>
);