# sk-component

> ## 📦 安装

Latest version **1.0.10** (published 2019-12-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install sk-component
pnpm add sk-component
yarn add sk-component
bun add sk-component
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2019-12-12 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 57 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zsj |
| Maintainers | zsj1037797769 |

## Links

- npm: https://www.npmjs.com/package/sk-component
- Repository: http://git.supercop.cn/zuoshengjie/sk-component
- npm.io page: https://npm.io/package/sk-component

## Dependencies (2)

- [vis](https://npm.io/package/vis.md) ^4.21.0-EOL
- [rsuite](https://npm.io/package/rsuite.md) ^4.1.1

## Recent versions

- 1.0.10 (latest) — 2019-12-12
- 1.0.9 — 2019-12-06
- 1.0.8 — 2019-12-06
- 1.0.7 — 2019-12-06
- 1.0.6 — 2019-12-06
- 1.0.5 — 2019-12-06
- 1.0.4 — 2019-12-02
- 1.0.3 — 2019-12-02
- 1.0.2 — 2019-12-02
- 1.0.1 — 2019-12-02
- 1.0.0 — 2019-12-02

## README

# sk-component

## 📦 安装

```shell
$ npm install sk-component --save
```

## 🔨 示例

```jsx
import React from 'react';
import { Relationship } from 'sk-component';

const nodes = [
  { id: 1, label: '节点1' },
  { id: 2, label: '节点2' },
  { id: 3, label: '节点3' },
  { id: 4, label: '节点4' },
];
const edges = [{ from: 1, to: 2 }, { from: 1, to: 3 }, { from: 1, to: 4 }];

export default () => <Relationship nodes={nodes} edges={edges}></Relationship>;

```

## 🔗 文档

[具体组件文档](http://git.supercop.cn/zuoshengjie/components-design)

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