changed examples

This commit is contained in:
Erin 2022-07-21 01:11:38 +02:00 committed by ondra05
parent 8c47a30f8e
commit d52e9a2800
3 changed files with 16 additions and 19 deletions

View file

@ -1,3 +1,2 @@
(wisp
(document
(text "Hello, World!")))
(text "Hello, world!"))

View file

@ -1,12 +1,8 @@
(wisp
(metadata
(title "Hi there!"))
(metadata (title "Hi there!"))
(on-update '())
(on-load '())
(document
(text "Hello, World!")
(image
(link "ablecorp.us/img.png"))
(text "Hello, world!")
(image (link "ablecorp.us/img.png"))
(button :text "Click Me!!"
:callback
(lambda '()))))
:callback (fn [])))

View file

@ -1,4 +1,6 @@
(wisp
(style :id 1 '(:size 12 ))
(style
:id 1
{ :size 12})
(document
(text :style 1 "Hello, World!")))
(text :style 1 "Hello, world!"))