1.0.0-alpha.15 • Published 5 years ago
surveyjs-components v1.0.0-alpha.15
surveyjs-components
This package contains the SurveyJS components developed for use at Navigating Cancer.
Products using this package include:
- Health Tracker's Clinic Collect form
- Survey SPA
For development instructions and standards, see CONTRIBUTING.md
Install
Authenticate with the github package registry using your github username and the access token as the password.
npm login --registry=https://npm.pkg.github.com/
Install the package
npm install -S @navigatingcancer/surveyjs-components
Note: It may be necessary to modify the the
.npmrc
file to include a link to the registry:registry=https://npm.pkg.github.com/navigatingcancer
Usage
import React, { Component } from 'react'
import { Survey } from '@navigatingcancer/surveyjs-components'
const Component: React.FC<Props> = ({}) => {
return <Survey />
}
export default Component
1.0.0-alpha.15
5 years ago