Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-dasilva authored May 23, 2024
1 parent f54982c commit 67f1c28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ gleam add html_components
#### HTML

```gleam
import elements
import html
import render
import html_components/elements
import html_components/html
import html_components/render
let input =
html.html([elements.attr("lang", "en")], [
Expand All @@ -44,8 +44,8 @@ render.html(input)
Since the functions are quite generic, its also possible to generate xml

```gleam
import elements
import render
import html_components/elements
import html_components/render
let book_element = fn(id: String, author: String, title: String) {
elements.element("book", [elements.attr("id", id)], [
Expand Down

0 comments on commit 67f1c28

Please sign in to comment.