@dmsi/wedgekit-react
v0.0.699
Published
This package provides a set of react components that implement the DMSi Global Design System.
Keywords
Readme
DMSi Global Design System
This package provides a set of react components that implement the DMSi Global Design System.
Installation
npm install @dmsi/wedgekit-react
Usage
To use a component import it from the design system
import { Button } from '@dmsi/wedgekit-react/components/Button`;
const MyComponent = () => <Button variant="primary">Action</Button>;
The CSS for styles and fonts will be required for the components to display correctly an needs to be included in the application.
import "@dmsi/wedgekit-react/styles.css";
import "@dmsi/wedgekit-react/fonts.css";<link rel="stylesheet" href="/node_modules/@dmsi/wedgekit-react/styles.css" />
<link rel="stylesheet" href="/node_modules/@dmsi/wedgekit-react/fonts.css" />Documentation
The components and their options can be seen in the Global Design System storybook. TBD (currently at https://dev-dmsi-storybook.soda.dev).
