aboutsummaryrefslogtreecommitdiff
path: root/test/apps/static.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'test/apps/static.gleam')
-rw-r--r--test/apps/static.gleam5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/apps/static.gleam b/test/apps/static.gleam
index d41964a..5c6ca05 100644
--- a/test/apps/static.gleam
+++ b/test/apps/static.gleam
@@ -1,8 +1,8 @@
// IMPORTS ---------------------------------------------------------------------
-import lustre/attribute.{src}
+import lustre/attribute.{disabled, src}
import lustre/element.{text}
-import lustre/element/html.{body, h1, head, html, img, title}
+import lustre/element/html.{body, h1, head, html, img, input, title}
// VIEW ------------------------------------------------------------------------
@@ -11,6 +11,7 @@ pub fn view() {
head([], [title([], "Hello, World!")]),
body([], [
h1([], [text("Hello, World!")]),
+ input([disabled(True)]),
img([src("https://source.unsplash.com/random")]),
]),
])