diff --git a/package.json b/package.json
index 283457b..337dd68 100644
--- a/package.json
+++ b/package.json
@@ -37,5 +37,5 @@
},
"type": "module",
"types": "types.d.ts",
- "version": "0.7.1"
+ "version": "0.7.2"
}
diff --git a/src/paint/README.md b/src/paint/README.md
index c61ee09..0db636f 100644
--- a/src/paint/README.md
+++ b/src/paint/README.md
@@ -64,23 +64,31 @@ export default paint;
component.ts:
```typescript
+import { html } from '@bake-js/element';
+
export function component(self: any) {
- return ``;
+ return html`
+
+ `;
}
```
style.ts:
```typescript
+import { css } from '@bake-js/element';
+
export function style(sel: any) {
- return "button { color: red; }";
+ return css`
+ button { color: red; }
+ `;
}
```
counter.ts:
```javascript
-import paint from '@bake-js/element/paint';
+import { paint } from '@bake-js/element';
import component from './component';
import style from './style';