@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
82 lines (72 loc) • 1.59 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-calendar-event",
"path": "./../node_modules/@vonage/vwc-calendar/vwc-calendar-event.d.ts",
"properties": [
{
"name": "heading",
"type": "string | undefined",
"bindable": false
},
{
"name": "description",
"type": "string | undefined",
"bindable": false
},
{
"name": "color",
"type": "string | undefined",
"bindable": false
},
{
"name": "overlapCount",
"type": "string | undefined",
"bindable": false
},
{
"name": "start",
"type": "number",
"bindable": false
},
{
"name": "duration",
"type": "number",
"bindable": false
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-calendar'
import '@vonage/vwc-calendar/vwc-calendar-event'
/**
* @param {string | undefined} heading
* @param {string | undefined} description
* @param {string | undefined} color
* @param {string | undefined} overlapCount
* @param {number} start
* @param {number} duration
*/
const VwcCalendarEvent = wrapper('vwc-calendar-event', {
events: [],
attributes: [],
properties: []
});
VwcCalendarEvent.propTypes = {
heading: PropTypes.string,
description: PropTypes.string,
color: PropTypes.string,
overlapCount: PropTypes.string,
start: PropTypes.number,
duration: PropTypes.number
}
VwcCalendarEvent.defaultProps = {
}
VwcCalendarEvent.displayName = 'VwcCalendarEvent'
export default VwcCalendarEvent