diff --git a/packages/ui/src/demo.tsx b/packages/ui/src/demo.tsx index 5893ca75..6d60c25a 100644 --- a/packages/ui/src/demo.tsx +++ b/packages/ui/src/demo.tsx @@ -126,7 +126,7 @@ const Demo: Component = () => { Right Tooltip - `Dynamic tooltip: ${new Date().toLocaleTimeString()}`} placement="top"> + Dynamic Tooltip @@ -141,7 +141,9 @@ const Demo: Component = () => { setInputValue(e.currentTarget.value)} + onInput={(e: InputEvent & { currentTarget: HTMLInputElement }) => + setInputValue(e.currentTarget.value) + } /> @@ -158,8 +160,15 @@ const Demo: Component = () => { checked={checked()} onChange={setChecked} /> - - + + { setDialogOpen(true)}>Open Dialog Example Dialog - This is an example dialog with a title and description. - + + This is an example dialog with a title and description. + + setDialogOpen(false)}> Cancel @@ -249,7 +267,10 @@ const Demo: Component = () => { - Kobalte is a UI toolkit for building accessible web apps and design systems with SolidJS. + + Kobalte is a UI toolkit for building accessible web apps and design systems with + SolidJS. +
Kobalte is a UI toolkit for building accessible web apps and design systems with SolidJS.
+ Kobalte is a UI toolkit for building accessible web apps and design systems with + SolidJS. +