UNPKG

@vonage/vivid-react

Version:

Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings

92 lines (82 loc) 1.71 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-banner", "path": "./../node_modules/@vonage/vwc-banner/vwc-banner.d.ts", "properties": [ { "name": "styles", "type": "CSSResult[]" }, { "name": "message", "type": "string", "bindable": false }, { "name": "dismissible", "type": "boolean", "bindable": false }, { "name": "connotation", "type": "BannerConnotation | undefined", "bindable": false }, { "name": "icon", "type": "string | undefined", "bindable": false }, { "name": "open", "type": "boolean", "bindable": false }, { "name": "role", "type": "BannerRole", "bindable": false }, { "name": "ariaLive", "type": "BannerAriaLive", "bindable": false } ], "events": [] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-banner' /** * @param {string} message * @param {boolean} dismissible * @param {BannerConnotation | undefined} connotation * @param {string | undefined} icon * @param {boolean} open * @param {BannerRole} role * @param {BannerAriaLive} ariaLive */ const VwcBanner = wrapper('vwc-banner', { events: [], attributes: [], properties: [] }); VwcBanner.propTypes = { message: PropTypes.string, dismissible: PropTypes.bool, connotation: PropTypes.any /* BannerConnotation | undefined */, icon: PropTypes.string, open: PropTypes.bool, role: PropTypes.any /* BannerRole */, ariaLive: PropTypes.any /* BannerAriaLive */ } VwcBanner.defaultProps = { } VwcBanner.displayName = 'VwcBanner' export default VwcBanner