diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-15 14:21:34 +0100 |
|---|---|---|
| committer | Stanisław Zagórowski <hasohasacz@gmail.com> | 2024-01-15 14:21:34 +0100 |
| commit | 63ea67e4c3c8caa2cf0dc6d7c940981bd40b3974 (patch) | |
| tree | 9900794e80bd4413ceb4dad72cdfc3eeaf0d6c9b /components/carousel.luax | |
| parent | d5c0555775ac835f75246a17b5e6f3ddc353d82b (diff) | |
all: move out from luax/
Diffstat (limited to 'components/carousel.luax')
| -rw-r--r-- | components/carousel.luax | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/components/carousel.luax b/components/carousel.luax new file mode 100644 index 0000000..f2c5fbe --- /dev/null +++ b/components/carousel.luax @@ -0,0 +1,10 @@ +return function(props) + if props == nil or props.children == nil or #props.children == 0 then + return nil + end + + return + <div class="carousel-wrapper"> + {$ props.children $} + </div> +end |
