input_custom

1.0.2 • Public • Published

input_custom

Made with create-react-library

NPM JavaScript Style Guide

Installation

You can install the component by using:

npm install --save input_custom

Usage

Open your React project and go to the file requiring the input component and import the input

import React, { Component } from 'react'

import { Input as Input } from 'input_custom'
import 'input_custom/dist/index.css'

class Example extends Component {
  render() {
    return <Input />
  }
}

How to use it

Once your import is complete, set up your props as needed, for example :

<Fragment>
  <label>{label}</label>
  <input
    id={id}
    type={type}
    name={name}
    label={label}
    value={options}
    required={required}
  />
</Fragment>

License

MIT © Lykisa

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i input_custom

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    8.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • lykisa