diff --git a/README.md b/README.md index 3edc307..c0e7073 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![npm](https://img.shields.io/npm/v/typed-htmx?style=flat-square)](https://www.npmjs.com/package/typed-htmx) +[![demo](/static/demo.gif)](https://asciinema.org/a/598553) + Definitions for htmx attributes in JSX. ## Usage diff --git a/example/index.jsx b/example/index.jsx index 21d4784..88aab4a 100644 --- a/example/index.jsx +++ b/example/index.jsx @@ -1,5 +1,20 @@ - -/** @param {{children: any}} _ */ -export function MyComponent({ children }) { - return