@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
78 lines (68 loc) • 1.42 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-top-app-bar",
"path": "./../node_modules/@vonage/vwc-top-app-bar/vwc-top-app-bar.d.ts",
"properties": [
{
"name": "alternate",
"type": "boolean",
"bindable": false
},
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "prominent",
"type": "boolean",
"bindable": false
},
{
"name": "dense",
"type": "boolean",
"bindable": false
},
{
"name": "centerTitle",
"type": "boolean",
"bindable": false
},
{
"name": "scrollTarget",
"type": "HTMLElement | Window",
"bindable": false
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-top-app-bar'
/**
* @param {boolean} alternate
* @param {boolean} prominent
* @param {boolean} dense
* @param {boolean} centerTitle
* @param {HTMLElement | Window} scrollTarget
*/
const VwcTopAppBar = wrapper('vwc-top-app-bar', {
events: [],
attributes: [],
properties: []
});
VwcTopAppBar.propTypes = {
alternate: PropTypes.bool,
prominent: PropTypes.bool,
dense: PropTypes.bool,
centerTitle: PropTypes.bool,
scrollTarget: PropTypes.any /* HTMLElement | Window */
}
VwcTopAppBar.defaultProps = {
}
VwcTopAppBar.displayName = 'VwcTopAppBar'
export default VwcTopAppBar