aboutsummaryrefslogtreecommitdiff
path: root/components/navbar-item.luax
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-15 14:21:34 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-15 14:21:34 +0100
commit63ea67e4c3c8caa2cf0dc6d7c940981bd40b3974 (patch)
tree9900794e80bd4413ceb4dad72cdfc3eeaf0d6c9b /components/navbar-item.luax
parentd5c0555775ac835f75246a17b5e6f3ddc353d82b (diff)
all: move out from luax/
Diffstat (limited to 'components/navbar-item.luax')
-rw-r--r--components/navbar-item.luax6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/navbar-item.luax b/components/navbar-item.luax
new file mode 100644
index 0000000..d201f82
--- /dev/null
+++ b/components/navbar-item.luax
@@ -0,0 +1,6 @@
+return function(props)
+ return
+ <a class={'navbar-item navbar-item-' .. props.attrs.name} href={props.attrs.href} rel={props.attrs.rel}>
+ {$ props.children $}
+ </a>
+end