@samelogic/react-microsurveys
TypeScript icon, indicating that this package has built-in type declarations

0.9.1 • Public • Published

@samelogic/react-microsurveys

This is the main entry-point to the Samelogic Microsurvey client and editor UI components.

Built on react and mui.

Usage

MicrosurveysClient

import { Form, MicrosurveyClient } from '@samelogic/react-microsurveys';

export interface PlaygroundProps {
  form: Form;
}

export const Playground: React.FC<MicrosurveyEditorProps> = ({ form }) => {
  return (
    <Grid container>
      <Grid item xs={6}>
        <Editor />
      </Grid>
      <Grid item xs={6}>
        <MicrosurveyClient form={form} />
      </Grid>
    </Grid>
  );
};

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @samelogic/react-microsurveys

      Weekly Downloads

      1

      Version

      0.9.1

      License

      none

      Unpacked Size

      60.5 kB

      Total Files

      6

      Last publish

      Collaborators

      • dwaynesamuels
      • shawnmclean
      • njbrown