This commit is contained in:
m
2026-03-25 12:45:43 +01:00
parent 1c23c05cc7
commit 6f046b3743

12
flask_logic/registry.py Normal file
View File

@@ -0,0 +1,12 @@
# component_registry.py
COMPONENTS = {}
def register_component(name, css=None):
def decorator(func):
COMPONENTS[name] = {
"render": func,
"css": css
}
return func
return decorator