@hig/components
v3.4.0
Published
HIG Components
Downloads
27
Readme
Components
The Components package exports all of the available HIG components for easy access.
Please view the individual components packages for component specific documentation.
Getting started
Install the package
yarn add @hig/components
Basic usage
Import all components
import * as HIG from "@hig/components";
<HIG.Button title="Click Me" />;
Import a single component
import { Button } from "@hig/components";
<Button title="Click Me" />;
Import a component with component-specific exports
import Button, { types } from "@hig/components/build/button";
<Button type={types.PRIMARY} title="Click Me" />;