🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

sk-component

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sk-component

## 📦 安装

latest
npmnpm
Version
1.0.10
Version published
Maintainers
1
Created
Source

sk-component

📦 安装

$ npm install sk-component --save

🔨 示例

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>;

🔗 文档

具体组件文档

FAQs

Package last updated on 12 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts