open-index/open-npm huggingface dataset:
npm package: @keethealth/keet-ui
Description: Keet Health UI Components
Author: Ardhimas
Latest version: 0.2.14

# Keet Health UI Components

[![NPM](https://img.shields.io/npm/v/@keethealth/keet-ui.svg)](https://www.npmjs.com/package/@keethealth/keet-ui)

## Install

```sh
yarn add @keethealth/keet-ui
# or
npm install @keethealth/keet-ui
```

## Usage

Import the library's stylesheet

```scss
@import "~@keethealth/keet-ui/dist/index.css";
```

Import the named components

```jsx
import React, { Component } from 'react'

import { NamedComponent } from '@keethealth/keet-ui'

class Example extends Component {
  render () {
    return (
      <NamedComponent />
    )
  }
}
```

## Development

Local development with real time updates in applications where `@keethealth/keet-ui` is used as a dependency is possible using symlinks.

1. Navigate to the directory of this repo and start development mode

```sh
cd keet-ui
yarn start

```

2. Run the `link` command on this package

```sh
yarn link
# or
npm link
```

3. Navigate to the app that uses this package

```sh
cd ../patient-ui
```

4. Create a symlink

```sh
yarn link @keethealth/keet-ui
# or
npm link @keethealth/keet-ui
```

This creates a symlink at `patient-ui/node_modules/@keethealth/keet-ui` that links to your local copy of the library, allowing you to make live updates to the library that is immediately reflected on the consuming app. As long as both apps are running, there is no need to rebuild the app or restart any commands.