Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including react-native-ewity-forms with all npm packages installed. Try it out:

var reactNativeEwityForms = require("react-native-ewity-forms")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

react-native-ewity-forms v1.0.5

Basic Usage

import Form from 'react-native-ewity-forms';

const fields = [
                                    name: 'country',
                                    type: 'select',
                                    placeholder: "Please select Country",
                                    initialValue: "mv",
                                    api: AppService.countries,
                                    //values: [{label: "Maldives", value: "mv"}]
                                    label: 'Country',
                                    onChange: this.resetUuid,
                                    name: 'gender',
                                    type: 'text',
                                    label: 'Gender',
                                    type: 'radio',
                                    values: [
                                                {label: "Female", value: "f"},
                                                {label: "Male", value: "m"}
                                    name: 'card_number',
                                    type: 'text',
                                    label: 'Number',
                                    name: 'mobile',
                                    type: 'text',
                                    keyboardType: 'phone-pad',
                                    label: 'Mobile Number',
                                    onChange: this.resetUuid,
                                this.state.uuid && {
                                    name: 'otp',
                                    type: 'text',
                                    keyboardType: 'number-pad',
                                    label: 'OTP'
        onChange={formData => this.setState({formData: formData})}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free