smbc-react-components

**Usage:**

Usage no npm install needed!

<script type="module">
  import smbcReactComponents from 'https://cdn.skypack.dev/smbc-react-components';
</script>

README

smbc-react-components

Memorable Date Input

Usage:

<MemorableDateInputContainer />

Props: | Name | Purpose | |--|--| |heading (String)| | |description (String)| | |onChange (Function)| | |optional (Boolean)| | |value (String)| | |customValidation (Object)| |

Text Input

Usage:

<TextInputContainer />

Props: | Name | Purpose | |--|--| |id(String)| | |label (String)| | |type (Function)| | |optional (Boolean)| | |onChange (Function)| | |customValidation (Function)| |

Radio Input

Usage:

<RadioInputsContainer />

Props: | Name | Purpose | |--|--| |value(String)| | |enableH2 (Boolean)| | |onChange (Function)| | |header (String)| | |description (String)| | |options (OptionObject)| |

OptionObject: { id: string, label: string, name: string, value: string, disabled:bool }

Select Input

Usage:

<SelectInput />

Props: | Name | Purpose | |--|--| |id(String)| | |name (String)| | |placeholder (String)| | |options(Object)| | |label (String)| | |onChange (Function)| |