Skip to content

Commit f231af3

Browse files
Update README.md
1 parent 6ed5ffb commit f231af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ npm install react-datalist-input --save
2828

2929
### Basic Usage
3030

31-
```
31+
```javascript
3232
import DataListInput from 'react-datalist-input';
3333

3434
/**
@@ -86,7 +86,7 @@ render() {
8686
|----------|------------- |------| ------|
8787
| [items](#markdown-header-items) | array | required | - |
8888
| [onSelect](#markdown-header-onSelect) | function | required | - |
89-
| [match](#markdown-header-match) | function | optional | required | - |
89+
| [match](#markdown-header-match) | function | optional | internal matching function |
9090
| [onDropdownOpen](#markdown-header-onDropdownOpen) | function | optional | - |
9191
| [onDropdownClose](#markdown-header-onDropdownClose) | function | optional | - |
9292
| [placeholder](#markdown-header-placeholder) | string | optional | '' |

0 commit comments

Comments
 (0)