MML React
ReadmeMML
Components
Add to calendarPropertiesMML stringUsageButtonButton listCarouselCarousel itemColIconImageInputMdNumberRowSchedulerText
Utility Components

AddToCalendar

It allows to define an event that a user can quickly add to her/his own calendar, we support Google, Apple and Outlook calendars.

Internally this component uses Card, CardHeader and ButtonList, therefore styles are inherited from those.

Properties

start
string | Date
required
end
string | Date
required
title
string
required
location
string | undefined
description
string | undefined
className
string | undefined

MML string

<mml>
<add_to_calendar
title="Christmas party"
start="2020-12-24T18:00:00.148Z"
end="2020-12-26T15:00:00.148Z"
description="The gift is your presence"
location="Boulder, CO"
/>
</mml>

Usage

Basic

MrLahey | Service
Hi Ricky. I am Mr. Lahey’s messaging assistant
So, what can I help you with?
17:26 pm
ML
date_rangeAdd to My Calendar