Added icons

Updated README.md
Started test framework utils
This commit is contained in:
2025-10-24 12:24:10 +02:00
parent a4e122f4ea
commit 0f5fc696f0
25 changed files with 88199 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
from fasthtml.components import *
from myfasthtml.core.commands import Command
def mk_button(element, command: Command = None, **kwargs):
if command is None:
return Button(element, **kwargs)
htmx = command.get_htmx_params()
return Button(element, **htmx, **kwargs)