Public components for React
yarn add atlas-components
import { AtlasButton } from "atlas-components";
In render:
public render() {
return <AtlasButton label="Test Button" />
}
- Create a new component folder in
src/components
- Follow the format of AtlasButton (index.ts, full sass file, and no default exporting) and add your component to AtlasC
- Create a file called exactly what your exported component is called in
src/componentDemos
- It should automatically be picked up and added to the docs
- Submit and PR!