react-fortress
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-fortress

Build forms for React with ease

NPM JavaScript Style Guide

Install

npm install --save react-fortress

Usage

import React, { Component } from 'react';
 
import { FormMapper } from 'react-fortress';
import 'react-fortress/dist/index.css';
 
const elementsArray = [
  { placeholder: 'Full name...' },
  { placeholder: 'Email' },
  { placeholder: 'Password' }
];
 
class Example extends Component {
  render() {
    return <FormMapper inputElements={elementsArray} />;
  }
}

License

MIT © nikolap99

Readme

Keywords

none

Package Sidebar

Install

npm i react-fortress

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

6.96 kB

Total Files

9

Last publish

Collaborators

  • nikolap99