1.0.0 • Published 1 year ago

@weave-design/components v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

Components

The Components package exports all of the available Weave components for easy access.

Please view the individual components packages for component specific documentation.

Getting started

Install the package

yarn add @weave-design/components

Basic usage

Import all components

import * as WeaveDesign from "@weave-design/components";

<HIG.Button title="Click Me" />;

Import a single component

import { Button } from "@weave-design/components";

<Button title="Click Me" />;

Import a component with component-specific exports

import Button, { types } from "@weave-design/components/build/button";

<Button type={types.PRIMARY} title="Click Me" />;