fit-plan-creator

1.5.3 • Public • Published

fit-plan-creator

NPM JavaScript Style Guide

Install

npm install fit-plan-creator

porps

It takes 7 props:

  1. patientInfoDetail={object}
  2. chronicCategory={Array}//in case of ccm
  3. type='ccm' or 'rpm'
  4. answers=[]//useState variagle
  5. setAnswers={}//useState Setter Function.
  6. navigate={instance of useNavigate()} // in case of ccm
  7. navigateUrl = Stirng url address for redirecting to specific page.

Usage

import AddCareplan from 'fit-plan-creator'
import {useNavigate} from 'react-router-dom'


const [answers, setAnswers] = useState([])
const navigate = useNavigate();

<AddCareplan patientInfoDetail={patientInfo} chronicCategory={chronicCat} type='ccm' answers={answers} setAnswers={setAnswers} navigate={navigate} navigateUrl="/specific/address"/>

License

MIT © Fitpeo

Dependencies (5)

Dev Dependencies (19)

Package Sidebar

Install

npm i fit-plan-creator

Weekly Downloads

6

Version

1.5.3

License

MIT

Unpacked Size

1.6 MB

Total Files

7

Last publish

Collaborators

  • aadil.fit