@samelogic/react-microsurvey
v0.10.13
Published
<p align="center"> Microsurvey components for react <br /><br /> <a href="https://github.com/Samelogic/react-microsurvey/actions/workflows/ci.yml"> <img src="https://github.com/Samelogic/react-microsurvey/actions/workflows/ci.yml/badge.svg?branc
Downloads
35
Readme
React Microsuvey is a modular survey component library that leverages react and material-ui to provide survey input components that is unobtrusive to the user to collect both qualitative and quantitative feedback. This is the component system used by Samelogic Microsurveys.
🚀 Quick Links
✨ Features
Survey features include:
Fields/Question types
Each field type includes its own editor and input component.
- Long Text
- Multiple Choice
Additional features
- Element Popup (survey modal pops up beside interacted element)
📦 Install
To use @samelogic/react-microsurvey
in your project, install it via npm/yarn:
npm i @samelogic/react-microsurvey --save
then import the survey component into your JSX element:
import { Microsurvey } from '@samelogic/react-microsurvey'
const form = {}
const ref = useRef()
const App = () => <Microsurvey form={form} ref={ref} />
Development
Use NPM. npm i
for setup.
Release
Releasing is done by github actions when a release is created on github.