Skip to content

foranything/survey

Repository files navigation

k-survey

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save k-survey

Usage

import React, { Component } from 'react'

import Survey from 'k-survey'

class Example extends Component {

  const items = [
    {
      text: 'Text1',
      options: [
        { text: 'option1' },
        { text: 'option2' },
        { text: 'option3' }
      ]
    },
  ];

  render() {
    return <Survey title={'title'} items={items} />
  }
}

License

MIT © foranything

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published