Skip to content

FormBasic

Radi Cho edited this page Jan 17, 2018 · 3 revisions

RSGFormBasic is deprecated in version 3.0.0

FormBasic by default looks like this:

https://github.com/Devs123/rsg-components/blob/master/images/RSGFormDefault.png

You can use basic login form with the following code:

import React                  from 'react';
import ReactDOM               from 'react-dom';
import { RSGFormBasic }       from 'rsg-components';

var app = document.getElementById('app');
ReactDOM.render(
  <div>
    <RSGFormBasic></RSGFormBasic>
  </div>,
  app
);

With RSGFormBasic you can send the information to the server side of your web application

<RSGFormBasic action={'test'}></RSGFormBasic>

https://github.com/Devs123/rsg-components/blob/master/images/FormURL.png

This method is insecure and outdated, that's why we deprecated it.

npm install rsg-components --save
or
yarn add rsg-components

Clone this wiki locally