Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Latest commit

 

History

History

components-react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.