@t4kumi_js/react-run-input

0.2.0 • Public • Published

React RUN Input

A React RUN input component for Chilean people

Install

Install this package using: npm install @t4kumi_js/react-run-input

Usage

import React, { useState } from 'react';

// To import the input component
import { RUNInput } from '@t4kumi_js/react-run-input';

// To import a validator and data treatment functions
import { checkRUN, cleanRUN, formatRUN } from '@t4kumi_js/react-run-input';

export default () => {
  const [value, setValue] = useState('');

  return (
    <div>
      <RUNInput
        value={value}
        handleChangeValue={setValue}
        /* some DOM properties (e.g. className, disabled, required, etc.) */
      />
    </div>
  );
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @t4kumi_js/react-run-input

Weekly Downloads

1

Version

0.2.0

License

ISC

Unpacked Size

73.3 kB

Total Files

14

Last publish

Collaborators

  • t4kumi_js