@dustinscarberry/react-components

1.0.10 • Public • Published

react-components

An assortment of React form components and other helpers.

Development Status

Currently still in Alpha status, as everything is being worked out.

Installation

yarn add @dustinscarberry/react-components

Example

import React from 'react';
import { SelectBox } from '@dustinscarberry/react-components';
import '@dustinscarberry/react-components/dist/index.css';

const App = () => {
  return <SelectBox
    name="inputName"
    value={1}
    options={[
      {key: 1, value: 'One'},
      {key: 2, value: 'Two'},
      {key: 3, value: 'Three'}
    ]}
    includeBlank={true}
    onChange={undefined}
  />
}

Readme

Keywords

none

Package Sidebar

Install

npm i @dustinscarberry/react-components

Weekly Downloads

153

Version

1.0.10

License

MIT

Unpacked Size

276 kB

Total Files

8

Last publish

Collaborators

  • dustinscarberry