Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanichkotikov/react-family-tree
React component that renders a family tree
https://github.com/sanichkotikov/react-family-tree
family-tree familytree npm-module npm-package react react-component reactjs
Last synced: 4 days ago
JSON representation
React component that renders a family tree
- Host: GitHub
- URL: https://github.com/sanichkotikov/react-family-tree
- Owner: SanichKotikov
- License: mit
- Created: 2019-01-02T07:37:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-11T02:56:04.000Z (4 months ago)
- Last Synced: 2024-10-14T19:58:38.779Z (about 1 month ago)
- Topics: family-tree, familytree, npm-module, npm-package, react, react-component, reactjs
- Language: TypeScript
- Size: 15.6 KB
- Stars: 54
- Watchers: 5
- Forks: 21
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-family-tree
React component that renders a family tree.
[Demo](https://sanichkotikov.github.io/react-family-tree-example/).## Install
```bash
npm i -S react-family-tree
```## Usage
```jsx
import ReactFamilyTree from 'react-family-tree';
import FamilyNode from './your-components/FamilyNode';const WIDTH = 70;
const HEIGHT = 80;(
)}
/>
```