mirror of
https://github.com/danog/react-datalist-input.git
synced 2025-01-23 06:12:21 +01:00
adding readme for new props
This commit is contained in:
parent
23850c8e9f
commit
9ee835e68f
21
README.md
21
README.md
@ -125,4 +125,25 @@ match = (currentInput, item) => {
|
|||||||
- The placeholder that will be shown inside the input field.
|
- The placeholder that will be shown inside the input field.
|
||||||
- Default is an empty string
|
- 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.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-datalist-input",
|
"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.",
|
"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",
|
"main": "build/index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user