Skip to content

Commit 2763c47

Browse files
committed
Upd to 0.3.0
1 parent 180a4db commit 2763c47

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ import Select2 from 'react-select2-wrapper';
6161
```js
6262
<Select2
6363
multiple={false}
64-
defaultValue={2}
64+
defaultValue={2} // or as string
6565
data={[
6666
{ text: 'bug', id: 1 },
6767
{ text: 'feature', id: 2 },
68-
{ text: 'documents', id: 3 },
68+
{ text: 'documents', id: 3, disabled: true },
6969
{ text: 'discussion', id: 4 },
7070
]}
7171
options={{

examples/src/components/Tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class Tags extends Component {
4747
data={[
4848
{ text: 'bug', id: 1 },
4949
{ text: 'feature', id: 2 },
50-
{ text: 'documents', id: 3 },
50+
{ text: 'documents', id: 3, disabled: true },
5151
{ text: 'discussion', id: 4 },
5252
]}
5353
options={{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-select2-wrapper",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "React component for Select2",
55
"main": "lib/components/Select2.js",
66
"scripts": {

0 commit comments

Comments
 (0)