Update for new panel_custom component (#751)

This commit is contained in:
Fabian Affolter 2016-08-08 18:36:53 +02:00 committed by GitHub
parent 9ba7da10a1
commit cb6bce4520
2 changed files with 17 additions and 28 deletions

View file

@ -20,11 +20,17 @@ This is a [React](https://facebook.github.io/react/) implementation of [TodoMVC]
All you need is available as a [custom component](https://github.com/home-assistant/home-assistant/tree/dev/config/custom_components/react_panel).
Create a entry for the panel in your `configuration.yaml` file to enable it. Set a title if you like.
Create a entry for the panel in your `configuration.yaml` file to enable it.
```yaml
react_panel:
title: 'React'
panel_custom:
- name: todomvc
sidebar_title: TodoMVC
sidebar_icon: mdi:work
url_path: my-todomvc
webcomponent_path: <config dir>/panels/<component name>.html
config:
hello: world
```
This video shows the example in action.