open-index/open-npm huggingface dataset:
npm package: @feltlabs/react
Description: Reusable React components for building FELT-based federated learning web experiences.
Author: FELT Labs
Latest version: 0.2.0

# FELT Labs component library

This package contains react components that can be used to integrate federated learning into your web application.

## Installation

```bash
npm install @feltlabs/react
# or
yarn add @feltlabs/react
```

## Usage

First you need to initialize the library with your API key

```jsx
import { initializeApp } from '@feltlabs/react';

initializeApp({ apiKey: 'API-KEY' });
```

Then you can use 2 components:

- `StartTraining` component to start the training process
- `DisplayJobs` component to display started jobs