diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-12 18:44:38 +0100 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-12 18:44:38 +0100 |
| commit | 2294bc65825972106aff44f2ad8204c4f2af30f4 (patch) | |
| tree | 516a564f54912565695fd5abc5cad1d6313cbabc /luax/components/navbar-item.luax | |
| parent | 6c247f1e1d69f817f585995a6d6a8301470814b4 (diff) | |
luax: initial
Diffstat (limited to 'luax/components/navbar-item.luax')
| -rw-r--r-- | luax/components/navbar-item.luax | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/luax/components/navbar-item.luax b/luax/components/navbar-item.luax new file mode 100644 index 0000000..d201f82 --- /dev/null +++ b/luax/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 |
