HTML components
Leda has its own HTML tags, they are the same HTML tags with some more props
HTML tags props
Name | Type | Description |
---|---|---|
shouldRender | boolean | Pass false if you don't want the component to appear |
_[className] | [x: string]: unknown | E.g.: _w-48 adds a css class w-48 to the component's outer wrapper. |
() => { return ( <> <L.Div _w-48> Some content </L.Div> </> ); }