@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
37 lines (36 loc) • 1.95 kB
TypeScript
import React, { ReactNode } from 'react';
/** VwcCalendarEvent
* For more info on this Vivid element please visit https://vivid.deno.dev/components/calendar-event
* @param {string | undefined} heading - the heading of the event **attribute** `heading`
* @param {string | undefined} description - the description of the event **attribute** `description`
* @param {CalendarEventConnotation | undefined} connotation - The connotation the calendar event should have. **attribute** `connotation`
* @param {CalendarEventAppearance | undefined} appearance - The appearance the calendar event should have. **attribute** `appearance`
* @param {number | undefined} overlapCount - sets card display precendence and indentation **attribute** `overlap-count`
* @param {number | undefined} start - time of day event starts **attribute** `start`
* @param {number | undefined} duration - event's time duration in hours **attribute** `duration`
* @param {'delegate'} _vividAriaBehaviour
* @param {string} VIVID_VERSION - The current version of the Vivid library, which is useful for debugging.
It can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.
* @param {string} componentName - Core component name, without prefix
*/
declare const VwcCalendarEvent: {
(props: {
children?: ReactNode;
slot?: string | undefined;
id?: string | undefined;
style?: React.CSSProperties | undefined;
ref?: React.RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
heading?: string | undefined;
description?: string | undefined;
connotation?: any;
appearance?: any;
overlapCount?: any;
start?: any;
duration?: any;
_vividAriaBehaviour?: any;
VIVID_VERSION?: string | undefined;
componentName?: string | undefined;
}): JSX.Element;
displayName: string;
};
export default VwcCalendarEvent;