diff --git a/README.md b/README.md index ec21502..ab5fdf4 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,10 @@ class App extends Component { { HelloWorldWidget: { type: HelloWorld, - title: 'Hello World Title' + title: 'Hello World Title', + props: { + text: 'Hello Humans!' + } }, AnotherWidget: { type: AnotherWidget, @@ -117,6 +120,7 @@ class App extends Component { ``` - `type` property - Should be a React component function or class. - `title` property - Title of the widget that should be displayed on top of the widget. + - `props` property - Props that should be provided to the widget. #### Dashboard `layout` diff --git a/package.json b/package.json index 136b484..914c99b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-dazzle", - "version": "1.0.2", + "version": "1.1.2", "description": "The simple yet flexible dashbording solution for React", "license": "MIT", "main": "dist/lib.js",