@hig/components

    2.6.0 • Public • Published

    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" />;

    Keywords

    none

    Install

    npm i @hig/components

    DownloadsWeekly Downloads

    238

    Version

    2.6.0

    License

    Apache-2.0

    Unpacked Size

    62.7 kB

    Total Files

    82

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar