route | menu |
---|---|
/components/add-to-calendar |
Components |
import { Playground, Props } from 'docz'; import { AddToCalendar } from './AddToCalendar.tsx'; import { Text } from './Text.tsx';
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.
<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>