Skip to main content

Meeting Link

MeetingLink component can be use for sending meeting links. On the other hand can be use in message box.

Example Usages

import { MessageBox } from "react-chat-elements"

<MessageBox
position={"left"}
title="Emre"
type={"meetingLink"}
meetingID="1"
text="This is a meeting link for tomorrow's event."
actionButtons={[
{
onClickButton: () => {
alert("Joined")
},
Component: () => <div>Join</div>,
},
{
onClickButton: () => {
alert("Postponed")
},
Component: () => <div>Later</div>,
},
]}
/>

Result

Emre
import { MeetingLink } from "react-chat-elements"

<MeetingLink
text="This is a meeting link for tomorrow's event."
meetingID="1"
actionButtons={[
{
onClickButton: () => {
alert("Joined")
},
Component: () => <div>Join</div>,
},
{
onClickButton: () => {
alert("Postponed")
},
Component: () => <div>Later</div>,
},
]}
/>

Result

propdefaulttypedescription
meetingIDnonestringmeeting link meeting id
textnonestringmeeting link text
actionButtonsnoneIMeetingLinkActionButtonsmeeting link buttons

IMeetingLinkActionButtons Props

propdefaulttypedescription
onClickButtonnonefunctionbutton onClick event
ComponentnoneReact.FunctionComponentbutton component