Un-export deftag macro for security reasons
This commit is contained in:
parent
923b213884
commit
7ec66d0da5
2 changed files with 0 additions and 19 deletions
18
README.md
18
README.md
|
@ -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.
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#:hsx/defhsx
|
||||
#:hsx/hsx)
|
||||
(:export #:hsx
|
||||
#:deftag
|
||||
#:defcomp
|
||||
#:render))
|
||||
(in-package :hsx)
|
||||
|
|
Loading…
Reference in a new issue