Un-export deftag macro for security reasons

This commit is contained in:
paku 2024-06-01 21:20:46 +09:00
parent 923b213884
commit 7ec66d0da5
2 changed files with 0 additions and 19 deletions

View file

@ -86,24 +86,6 @@ This generates:
<p>This is another paragraph.</p>
```
You can create custom tags (intended for Web Components) using the `deftag` macro.
```lisp
(deftag stack)
```
This can then be used as follows:
```lisp
(hsx (stack :space "var(--s2)" :recursive t))
```
Which generates:
```html
<stack space="var(--s2)" recursive></stack>
```
You can create HSX components using the `defcomp` macro. Components are essentially functions that accept keyword arguments, a property list, or both.
The `children` property accepts the children of a component.

View file

@ -5,7 +5,6 @@
#:hsx/defhsx
#:hsx/hsx)
(:export #:hsx
#:deftag
#:defcomp
#:render))
(in-package :hsx)