Skip to content

Commit 7258a47

Browse files
authored
feat: basic button component (#504)
1 parent 61a9d97 commit 7258a47

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,7 @@ Below you can find a more complex example which is using multiple components and
12221222
| unfold/components/separator.html | Separator, horizontal rule | class |
12231223
| unfold/components/text.html | Paragraph of text | class |
12241224
| unfold/components/title.html | Basic heading element | class |
1225+
| unfold/components/button.html | Basic button element | submit |
12251226

12261227
## Unfold development
12271228

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<button {% if submit %}type="submit"{% endif%} class="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded-md text-sm text-white">
2+
{{ children }}
3+
</button>

0 commit comments

Comments
 (0)