Type aliases Adapter Adapter< InteractionInit > : { }
Type parameters Button Click Event Button Click Event: {}
Button Props Button Props: { disabled?: boolean ; emoji?: string ; label?: string ; style?: "primary" | "secondary" | "success" | "danger" ; onClick: any }
Type declaration Optional disabled?: boolean Optional emoji?: string Optional label?: string Optional style?: "primary" | "secondary" | "success" | "danger" on Click: function Embed Author Props Embed Author Props: { children?: string ; iconUrl?: string ; name?: string ; url?: string }
Type declaration Optional children?: string Optional icon Url?: string Optional name?: string Optional url?: string Embed Field Props Embed Field Props: { children?: string ; inline?: boolean ; name: string ; value?: string }
Type declaration Optional children?: string Optional inline?: boolean name: string Optional value?: string Embed Footer Props Embed Footer Props: { children?: string ; iconUrl?: string ; text?: string ; timestamp?: string | number | Date }
Type declaration Optional children?: string Optional icon Url?: string Optional text?: string Optional timestamp?: string | number | Date Embed Image Props Embed Image Props: { url: string }
Embed Props Embed Props: { author?: { iconUrl?: string ; name: string ; url?: string } ; children?: React.ReactNode ; color?: number ; description?: string ; fields?: { inline?: boolean ; name: string ; value: string } [] ; footer?: { iconUrl?: string ; text: string } ; image?: { url: string } ; thumbnail?: { url: string } ; timestamp?: string | number | Date ; title?: string ; url?: string ; video?: { url: string } }
Type declaration Optional author?: { iconUrl?: string ; name: string ; url?: string } Optional icon Url?: string name: string Optional url?: string Optional children?: React.ReactNode Optional color?: number Optional description?: string Optional fields?: { inline?: boolean ; name: string ; value: string } [] Optional footer?: { iconUrl?: string ; text: string } Optional icon Url?: string text: string Optional image?: { url: string } Optional thumbnail?: { url: string } Optional timestamp?: string | number | Date Optional title?: string Optional url?: string Optional video?: { url: string } Embed Thumbnail Props Embed Thumbnail Props: { url: string }
Embed Title Props Embed Title Props: { children: string ; url?: string }
Type declaration children: string Optional url?: string Link Props Link Props: { children?: string ; disabled?: boolean ; emoji?: string ; label?: string ; url: string }
Type declaration Optional children?: string Optional disabled?: boolean Optional emoji?: string Optional label?: string url: string Reacord Config Reacord
Config
< InteractionInit > : { adapter
: Adapter < InteractionInit > ; maxInstances
?: number } Type parameters Type declaration adapter: Adapter < InteractionInit > Optional max Instances?: number Reacord Instance Reacord Instance: { deactivate: any ; render: any }
Defined in core/reacord.ts:16 Type declaration deactivate: function Defined in core/reacord.ts:18 Returns void render: function render( content: ReactNode ) : void Defined in core/reacord.ts:17 Parameters Returns void
- Preparing search index...
- The search index is not available
reacordreacord
Index
Classes
Type aliases
Functions
Type aliases
Adapter
Type parameters
InteractionInit
Type declaration
Button Click Event
Type declaration
Button Props
Type declaration
Optional disabled?: boolean
Optional emoji?: string
Optional label?: string
Optional style?: "primary" | "secondary" | "success" | "danger"
on Click:function
Parameters
event: ButtonClickEvent
Returns void
Embed Author Props
Type declaration
Optional children?: string
Optional icon Url?: string
Optional name?: string
Optional url?: string
Embed Field Props
Type declaration
Optional children?: string
Optional inline?: boolean
name: string
Optional value?: string
Embed Footer Props
Type declaration
Optional children?: string
Optional icon Url?: string
Optional text?: string
Optional timestamp?: string | number | Date
Embed Image Props
Type declaration
url: string
Embed Props
Type declaration
Optional author?: { iconUrl?: string; name: string; url?: string }
Optional icon Url?: string
name: string
Optional url?: string
Optional children?: React.ReactNode
Optional color?: number
Optional description?: string
Optional fields?: { inline?: boolean; name: string; value: string }[]
Optional footer?: { iconUrl?: string; text: string }
Optional icon Url?: string
text: string
Optional image?: { url: string }
url: string
Optional thumbnail?: { url: string }
url: string
Optional timestamp?: string | number | Date
Optional title?: string
Optional url?: string
Optional video?: { url: string }
url: string
Embed Thumbnail Props
Type declaration
url: string
Embed Title Props
Type declaration
children: string
Optional url?: string
Link Props
Type declaration
Optional children?: string
Optional disabled?: boolean
Optional emoji?: string
Optional label?: string
url: string
Reacord Config
Type parameters
InteractionInit
Type declaration
adapter: Adapter<InteractionInit>
Optional max Instances?: number
The max number of active instances. When this limit is exceeded, the oldest instances will be disabled.
-Reacord Instance
Type declaration
deactivate:function
Returns void
render:function
Parameters
content: ReactNode
Returns void
Functions
Button
Parameters
props: ButtonProps
Returns Element
Embed
Parameters
props: EmbedProps
Returns Element
Embed Author
Parameters
props: EmbedAuthorProps
Returns Element
Embed Field
Parameters
props: EmbedFieldProps
Returns Element
Embed Footer
Parameters
props: EmbedFooterProps
Returns Element
Embed Image
Parameters
props: EmbedImageProps
Returns Element
Embed Thumbnail
Parameters
props: EmbedThumbnailProps
Returns Element
Embed Title
Parameters
props: EmbedTitleProps
Returns Element
Link
Parameters
props: LinkProps
Returns Element
Generated using TypeDoc