Skip to content

Commit 132129c

Browse files
committed
Upd README.md
1 parent f7dffb0 commit 132129c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ import Select2 from 'react-select2-wrapper';
9090
}} />
9191
```
9292

93+
### Properties
94+
95+
You can pass any properties such as `class`, `id`, `data-*` attributes
96+
97+
```js
98+
<Select2 className="selector"/>
99+
```
100+
93101
### Access to select2
94102

95103
You can access to select2 as follows

0 commit comments

Comments
 (0)