# react-donut-single-slice

> This is a simpple react single lice donut package.

Latest version **0.1.5** (published 2022-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-donut-single-slice
pnpm add react-donut-single-slice
yarn add react-donut-single-slice
bun add react-donut-single-slice
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2022-11-17 |
| First published | 2022-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 15 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Behailu M. |
| Maintainers | behailu |
| Keywords | react, chart donut, ui, typescript, ts |

## Links

- npm: https://www.npmjs.com/package/react-donut-single-slice
- Repository: https://github.com/behail/react-donut
- Homepage: https://github.com/behail/react-donut#readme
- Issues: https://github.com/behail/react-donut/issues
- npm.io page: https://npm.io/package/react-donut-single-slice

## Dependencies (15)

- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [typescript](https://npm.io/package/typescript.md) ^4.9.3
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.5.2
- [@types/node](https://npm.io/package/@types/node.md) ^16.18.3
- [@types/react](https://npm.io/package/@types/react.md) ^18.0.25
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^18.0.9
- [@types/babel-core](https://npm.io/package/@types/babel-core.md) ^6.25.7
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@types/babel__preset-env](https://npm.io/package/@types/babel__preset-env.md) ^7.9.2
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2022-11-17
- 0.1.4 — 2022-11-17
- 0.1.3 — 2022-11-17
- 0.1.2 — 2022-11-17
- 0.1.1 — 2022-11-17
- 0.1.0 — 2022-11-17

## README

# React Donut Single Slice

This is a simpple react single lice donut package.

## Installation

Using npm:

### `npm install react-donut-single-slice`

## Configure

###

configure = {
svg: {
width: string,
height: string,
},
circle: {
cx: string,
cy: string,
radius: number,
fill: string,
strokeColor1: string,
strokeColor2: string,
strokeWidth: string,
},
text: {
fill: string,
textAnchor: string,
},
percentagevalue: number,

};

## Usage

````JavaScript

import ReactDOM from "react-dom/client";

import App from "./App";
import { ReactDonut } from "react-donut-single-slice";

function App() {
const configure = {
svg: {
width: "80",
height: "80",
},
circle: {
cx: "50",
cy: "25",
radius: 20,
fill: "transparent",
strokeColor1: "#aab3b2",
strokeColor2: "#34ebe5",
strokeWidth: "6",
},
text: {
fill: "gray",
textAnchor: "middle",
},
percentagevalue: 60,
};
return (

<div>
<ReactDonut configure={configure} />
</div>
);
}

const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
);
root.render(<App />);```
````

---
_Source: https://npm.io/package/react-donut-single-slice · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
