Preparing search index...
The search index is not available
AppleSauce
AppleSauce
applesauce-react
Hooks
useRenderNast
Function useRenderNast
use
Render
Nast
(
root
,
components
)
:
JSX.Element
|
null
A hook to get the rendered output of a nostr syntax tree
Parameters
root
:
undefined
|
Root
components
:
Partial
<
{
cashu
:
Component
<
ExtraProps
<
CashuToken
>
>
;
emoji
:
Component
<
ExtraProps
<
Nast
.
Emoji
>
>
;
gallery
:
Component
<
ExtraProps
<
Gallery
>
>
;
hashtag
:
Component
<
ExtraProps
<
Hashtag
>
>
;
lightning
:
Component
<
ExtraProps
<
LightningInvoice
>
>
;
link
:
Component
<
ExtraProps
<
Link
>
>
;
mention
:
Component
<
ExtraProps
<
Mention
>
>
;
text
:
Component
<
ExtraProps
<
Text
>
>
;
}
>
Returns
JSX.Element
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AppleSauce
Loading...
A hook to get the rendered output of a nostr syntax tree