Type aliases
ActionRowProps
ActionRowProps: { children?: ReactNode }
Type declaration
Optional children?: ReactNode
ButtonClickEvent
ButtonClickEvent: {}
ButtonProps
ButtonProps: { 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"
onClick:function
ComponentInteractionListener
ComponentInteractionListener: (interaction: ComponentInteraction) => void
Type declaration
- (interaction: ComponentInteraction): void
Parameters
interaction: ComponentInteraction
Returns void
EmbedAuthorProps
EmbedAuthorProps: { children?: string; iconUrl?: string; name?: string; url?: string }
Type declaration
Optional children?: string
Optional iconUrl?: string
Optional name?: string
Optional url?: string
EmbedFieldProps
EmbedFieldProps: { children?: string; inline?: boolean; name: string; value?: string }
Type declaration
Optional children?: string
Optional inline?: boolean
name: string
Optional value?: string
EmbedFooterProps
EmbedFooterProps: { children?: string; iconUrl?: string; text?: string; timestamp?: string | number | Date }
Type declaration
Optional children?: string
Optional iconUrl?: string
Optional text?: string
Optional timestamp?: string | number | Date
EmbedImageProps
EmbedImageProps: { url: string }
EmbedProps
EmbedProps: { 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 iconUrl?: 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 iconUrl?: 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 }
EmbedThumbnailProps
EmbedThumbnailProps: { url: string }
EmbedTitleProps
EmbedTitleProps: { children: string; url?: string }
Type declaration
children: string
Optional url?: string
LinkProps
LinkProps: { 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
OptionProps
OptionProps: { children?: string; description?: string; emoji?: string; label?: string; value: string }
Type declaration
Optional children?: string
Optional description?: string
Optional emoji?: string
Optional label?: string
value: string
ReacordConfig
ReacordConfig: { maxInstances?: number }
Type declaration
Optional maxInstances?: number
ReacordInstance
ReacordInstance: { deactivate: any; destroy: any; render: any }
Type declaration
deactivate:function
destroy:function
render:function
- render(content: ReactNode): void
SelectEvent
SelectEvent: { values: string[] }
SelectProps
SelectProps: { children?: ReactNode; disabled?: boolean; maxValues?: number; minValues?: number; multiple?: boolean; placeholder?: string; value?: string; values?: string[]; onSelect?: any; onSelectMultiple?: any; onSelectValue?: any }
Type declaration
Optional children?: ReactNode
Optional disabled?: boolean
Optional maxValues?: number
Optional minValues?: number
Optional multiple?: boolean
Optional placeholder?: string
Optional value?: string
Optional values?: string[]
onSelect?:function
onSelectMultiple?:function
- onSelectMultiple(values: string[]): void
onSelectValue?:function
- onSelectValue(value: string): void
- Preparing search index...
- The search index is not available
reacordreacord
Index
Classes
Type aliases
Functions
Type aliases
Action Row Props
Type declaration
Optional children?: ReactNode
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
Component Interaction Listener
Type declaration
Parameters
interaction: ComponentInteraction
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
Option Props
Type declaration
Optional children?: string
Optional description?: string
Optional emoji?: string
Optional label?: string
value: string
Reacord Config
Type declaration
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
destroy:function
Returns void
render:function
Parameters
content: ReactNode
Returns void
Select Event
Type declaration
values: string[]
Select Props
Type declaration
Optional children?: ReactNode
Optional disabled?: boolean
Optional max Values?: number
Optional min Values?: number
Optional multiple?: boolean
Optional placeholder?: string
Optional value?: string
Optional values?: string[]
on Select?:function
Parameters
event: SelectEvent
Returns void
on Select Multiple?:function
Parameters
values: string[]
Returns void
on Select Value?:function
Parameters
value: string
Returns void
Functions
Action Row
Parameters
props: ActionRowProps
Returns Element
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
Option
Parameters
props: OptionProps
Returns Element
Select
Parameters
props: SelectProps
Returns Element
Generated using TypeDoc