Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.11 KB

AddToCalendar.mdx

File metadata and controls

52 lines (41 loc) · 1.11 KB
route menu
/components/add-to-calendar
Components

import { Playground, Props } from 'docz'; import { AddToCalendar } from './AddToCalendar.tsx'; import { Text } from './Text.tsx';

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

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

`} />