2.0.13 • Published 1 year ago

alana-react-native-survey v2.0.13

Weekly downloads
2
License
MIT
Repository
bitbucket
Last release
1 year ago

react-native-surveyjs-component

Getting started

$ npm install react-native-surveyjs-component --save

Dependencies

  ajv: >= 6.12.3,
  js-base64: >= 3.2.4,
  react-native: >= 0.63.2,
  react-native-elements: >= 2.0.4,
  react-native-vector-icons: >= 7.0.0,
  react-native-collapsible-header-views: >= 1.1.2,
  react-native-linear-gradient: >= 2.5.6

Usage

import SurveyjsComponent from 'react-native-surveyjs-component';
<>
  <SurveyjsComponent
    completedImageUri={require('../src/example/image.png')}
    completedText={'COMPLETED'}
    completedTextHtmlBase64={'Q09NUExFVEVE'}
    currentPageIndex={currentPageIndex}
    enableCompletedPage={true}
    enableIntroPage={true}
    enableReviewSubmit={true}
    finished={finished}
    headerImageUri={require('../src/example/image.png')}
    introImageUri={require('../src/example/image.png')}
    introText={'INTRO'}
    introTextHtmlBase64={'SU5UUk8='}
    jsonObject={jsonObject}
    onClose={() => {}}
    onFinishSurvey={() => {}}
    onSubmitSurvey={() => {}}
    setCurrentPageIndex={() => {}}
    setFinished={setFinished}
    setStarted={setStarted}
    started={false}
    submitted={false}
    surveySummaryText={'SUMMARY'}
    surveySummaryTextHtmlBase64={'U1VNTUFSWQ=='}
    title={'TITLE'}
  />
</>;
PropertyRequiredType
onFinishSurveyYESFunction
onSubmitSurveyYESFunction
surveyHeaderComponentNOComponent
headerImageUriNOString
surveySummaryTextNOString
surveySummaryTextHtmlBase64NOString
enableCompletedPageNOBoolean
enableReviewSubmitNOBoolean
completedImageUriNOString
completedTextNOString
completedTextHtmlBase64NOString
currentPageIndexYESNumber
enableIntroPageNOBoolean
submittedNOBoolean
finishedYESBoolean
introImageUriNOString
introTextNOString
introTextHtmlBase64NOString
jsonObjectYESObject
onCloseYESFunction
setCurrentPageIndexYESFunction
setFinishedYESFunction
setStartedYESFunction
startedYESBoolean
titleNOString
2.0.13

1 year ago

2.0.11

2 years ago

2.0.12

2 years ago

2.0.9

2 years ago

2.0.10

2 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.8

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago