@core-design/components-react
TypeScript icon, indicating that this package has built-in type declarations

2.6.1 • Public • Published

React Components

npm version

This package contains Stencil's core-design, but in pre-compiled React wrappers.

Usage

import React from "react";
import { CoreButton } from "@core-design/components-react";

export default function App() {
  return (
    <div className="App">
      <CoreButton>Button</CoreButton>
    </div>
  );
}

...just add props 😁

codesandbox.io example

Package Management

To compile and build packages, head to the core-design root and run:

lerna run build

Publishing to NPM

Lerna provides a simple CLI interface for publishing to NPM. See the root readme for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i @core-design/components-react

Weekly Downloads

1

Version

2.6.1

License

none

Unpacked Size

66 kB

Total Files

19

Last publish

Collaborators

  • ianrohde
  • rjmccluskey