@culturehq/components
CultureHQ's component library.
Usage
You can import all of the components as separate named exports from the main package. As in:import { Button } from "@culturehq/components";
const App = () => (
<Button primary icon="clipboard">
Take Survey
</Button>
);
export default App;
To get the styles, be sure to also import
@culturehq/components/dist/main.css
into whatever stylesheet you're using.Development
Ensure you havenode
and yarn
installed on your system. Then run yarn
in the root of the repository to install the dependencies. You can then start the storybook server with yarn start
and view the output at http://localhost:6006
.