This package contains Stencil's core-design
, but in pre-compiled React wrappers.
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 😁
To compile and build packages, head to the core-design
root and run:
lerna run build
Lerna provides a simple CLI interface for publishing to NPM. See the root readme for more info.