Have ideas to improve npm?Join in the discussion! »

    @4geit/rct-register-component

    1.103.2 • Public • Published

    @4geit/rct-register-component npm version


    register form component for react apps

    Demo

    A live storybook is available to see how the component looks like @ http://rct-register-component.ws3.4ge.it

    Installation

    1. A recommended way to install @4geit/rct-register-component is through npm package manager using the following command:
    npm i @4geit/rct-register-component --save

    Or use yarn using the following command:

    yarn add @4geit/rct-register-component

    Make sure you also have those tools installed globally in your system since @4geit/rct-register-component requires them to work properly:

    • create-react-app: sudo npm i -g create-react-app
    • storybook: sudo npm i -g @storybook/cli
    1. Depending on where you want to use the component you will need to import the class RctregisterComponent to your project JS file as follows:
    import RctRegisterComponent from '@4geit/rct-register-component'

    For instance if you want to use this component in your App.js component, you can use the RctregisterComponent component in the JSX code as follows:

    import React from 'react'
    // ...
    import RctRegisterComponent from '@4geit/rct-register-component'
    // ...
    const App = () => (
      <div className="App">
        <RctRegisterComponent/>
      </div>
    )

    Usage

    1. You can actually use the component rct-register-component alone by running the command:
    yarn start

    Make sure the dependencies are all installed by running the command yarn.

    1. rct-register-component comes along with storybook already setup therefore you can use it by running the command:
    yarn storybook

    The storybook is also deployed online and available @ http://rct-register-component.ws3.4ge.it

    Keywords

    none

    Install

    npm i @4geit/rct-register-component

    DownloadsWeekly Downloads

    56

    Version

    1.103.2

    License

    MIT

    Unpacked Size

    85.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar