Skip to content

Commit

Permalink
Upd to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rkit committed Jan 22, 2016
1 parent 180a4db commit 2763c47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ import Select2 from 'react-select2-wrapper';
```js
<Select2
multiple={false}
defaultValue={2}
defaultValue={2} // or as string
data={[
{ text: 'bug', id: 1 },
{ text: 'feature', id: 2 },
{ text: 'documents', id: 3 },
{ text: 'documents', id: 3, disabled: true },
{ text: 'discussion', id: 4 },
]}
options={{
Expand Down
2 changes: 1 addition & 1 deletion examples/src/components/Tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default class Tags extends Component {
data={[
{ text: 'bug', id: 1 },
{ text: 'feature', id: 2 },
{ text: 'documents', id: 3 },
{ text: 'documents', id: 3, disabled: true },
{ text: 'discussion', id: 4 },
]}
options={{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-select2-wrapper",
"version": "0.2.0",
"version": "0.3.0",
"description": "React component for Select2",
"main": "lib/components/Select2.js",
"scripts": {
Expand Down

0 comments on commit 2763c47

Please sign in to comment.