This package has been deprecated

Author message:

no longer supported

@jolobo/react-pedigree

0.0.3 • Public • Published

react-pedigree

React component for displaying a pedigree.

Installation

Install via NPM npm i @jolobo/react-pedigree.

Example Usage

import React from 'react'
import Pedigree from '@jolobo/react-pedigree'

const Example = () => {
    const family = [
        [
            {
                name: 'James Smith',
                dob: '10-01-2019'
            }
        ],
        [
            {
                name: 'Jerry Smith',
                dob: '10-01-2019'
            },
            {
                name: 'Jane Smith',
                dob: '10-01-2019'
            }
        ]
    ]

    return (
        <Pedigree data={family} />
    )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @jolobo/react-pedigree

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

390 kB

Total Files

14

Last publish

Collaborators

  • shaun.lobsinger