@dustinscarberry/react-components
v1.0.25
Published
An assortment of React form components and other helpers.
Readme
react-components
An assortment of React form components and other helpers.
Development Status
Currently in alpha.
Website
https://www.dscarberry.com/react-components/
Installation
yarn add @dustinscarberry/react-componentsExample
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}
/>
}Upgrading
npx storybook@latest upgrade
yarn upgrade-interactive