Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 904 Bytes

File metadata and controls

36 lines (24 loc) · 904 Bytes

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.