1.0.3-v • Published 5 years ago

polarbear-react-components-npm v1.0.3-v

Weekly downloads
3
License
MIT
Repository
bitbucket
Last release
5 years ago

React Question component package

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

For security, you must have a pi auth token and pass it the component.

Installing

npm install polarbear-react-components-npm -S

Overview

import Question from 'polarbear-react-components-npm'
<Question id='5a84df97e4b07b238e412b1c' url='polarbear.dev-prsn.com' authToken="eyJraWQiOiJrMTA2OTQ4MTkwIiwiYWxnIjoiUlM1MTIifQ.eyJzdWIiOiJmZmZmZmZmZjUzN2UxNGJjZTRiMGRhMTdiODQwZjY3NCIsImhjYyI6IlVTIiwidHlwZSI6ImF0IiwiZXhwIjoxNTE4NjU5MjIyLCJpYXQiOjE1MTg2NTc0MjEsImNsaWVudF9pZCI6Ikhlc2F0Q2V2bnFmRnc2VDJVQU5PWHZXTDNQT0QwcFVxIiwic2Vzc2lkIjoiYWU2N2E5YWUtZTUyOS00MjcwLTgxMjQtNmNlZTU2NTcwNzZhIn0.Iws_A9ZLrQwzXuicwteJ5ZSLD23u1Joj9F_tQHd1izEp6rKiE06ivqe852nGaJVf4fkRurCiKd0exIkcOR16X-fIC_erV6CD5vM6GZ-p6EOVzR439g20iPkHgC9N8XlHSkprDG8Z_ir4ioACE1h8KgmnnOVk8XoNkhBfluSkct0"
/>

Props

id

Type: String

uuid of the question to be displayed

url

Type: String

Microservices url

authToken

Type: String

Unique pi auth token obtained from your application

onSuccess

Type: Function

Function invoked after the microservice fetch succeeds

onError

Type: Function

Function invoked after the microservice fetch fails

onRenderComplete

Type: Function

Function invoked after the component renders, which is the beginning of componentDidMount()

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used
1.0.3-v

5 years ago

1.0.3-u

5 years ago

1.0.3-t

6 years ago

1.0.3-s

6 years ago

1.0.3-r

6 years ago

1.0.3-q

6 years ago

1.0.3-p

6 years ago

1.0.3-o

6 years ago

1.0.3-n

6 years ago

1.0.3-m

6 years ago

1.0.3-l

6 years ago

1.0.3-k

6 years ago

1.0.3-j

6 years ago

1.0.3-i

6 years ago

1.0.3-h

6 years ago

1.0.3-g

6 years ago

1.0.3-f

6 years ago

1.0.3-e

6 years ago

1.0.3-d

6 years ago

1.0.3-c

6 years ago

1.0.3-b

6 years ago

1.0.3-a

6 years ago

1.0.3

6 years ago

1.0.2-z

6 years ago

1.0.2-y

6 years ago

1.0.2-x

6 years ago

1.0.2-w

6 years ago

1.0.2-u

6 years ago

1.0.2-t

6 years ago

1.0.2-s

6 years ago

1.0.2-r

6 years ago

1.0.2-q

6 years ago

1.0.2-p

6 years ago

1.0.2-o

6 years ago

1.0.2-n

6 years ago

1.0.2-m

6 years ago

1.0.2-l

6 years ago

1.0.2-k

6 years ago

1.0.2-j

6 years ago

1.0.2-i

6 years ago

1.0.2-h

6 years ago

1.0.2-g

6 years ago

1.0.2-f

6 years ago

1.0.2-e

6 years ago

1.0.2-a

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago