adding readme for new props

This commit is contained in:
andrelandgraf 2019-06-12 21:15:40 +02:00
parent 23850c8e9f
commit 9ee835e68f
2 changed files with 22 additions and 1 deletions

View File

@ -125,4 +125,25 @@ match = (currentInput, item) => {
- The placeholder that will be shown inside the input field.
- Default is an empty string
***itemClassName***
- Additional classes to style each input field in the dropdown menu.
- Default is an empty string
***activeItemClassName***
- Additional classes to style the active input field.
- Default is an empty string
***inputClassName***
- Additional classes to style the input field.
- Default is an empty string
***requiredInputLength***
- Number to specify the threshold until when the dropdown menu should appear.
- Example `requiredInputLength=3`, only if the user input is longer than 2 characters, the dropdown menu will appear.
- Default is zero.

View File

@ -1,6 +1,6 @@
{
"name": "react-datalist-input",
"version": "1.0.3",
"version": "1.0.5",
"description": "This package provides a react component as follows: an input field with a drop down menu to pick a possible option based on the current input.",
"main": "build/index.js",
"repository": {