[DOC] update component, tooling doc

This commit is contained in:
Géry Debongnie
2019-09-26 17:04:42 +02:00
parent 5335fb8fba
commit 91b9e78182
3 changed files with 72 additions and 14 deletions
+1 -2
View File
@@ -18,9 +18,8 @@ the [Odoo](https://www.odoo.com/) Web Client. OWL's main features are:
Here is a short example to illustrate interactive components:
```javascript
import { Component, QWeb } from 'owl'
import { Component, QWeb, useState } from 'owl'
import { xml } from 'owl/tags'
import { useState } from 'owl/hooks'
class Counter extends Component {
static template = xml`