@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
89 lines (80 loc) • 2.17 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-top-app-bar-fixed",
"path": "./../node_modules/@vonage/vwc-top-app-bar-fixed/src/vwc-top-app-bar-fixed.ts",
"description": "This component is an extension of [<mwc-top-app-bar-fixed>](https://github.com/material-components/material-components-web-components/tree/master/packages/top-app-bar-fixed)",
"attributes": [
{
"name": "alternate",
"type": "boolean",
"default": "false"
}
],
"properties": [
{
"name": "alternate",
"attribute": "alternate",
"type": "boolean",
"default": "false",
"bindable": false
},
{
"name": "styles",
"type": "CSSResult[]",
"default": "[\"MWCTopAppBarStyles\",\"VWCTopAppBarStyle\"]"
},
{
"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-fixed'
/** This component is an extension of [<mwc-top-app-bar-fixed>](https://github.com/material-components/material-components-web-components/tree/master/packages/top-app-bar-fixed)
* @param {boolean} alternate attribute: <VwcTopAppBarFixed alternate />
* @param {boolean} prominent
* @param {boolean} dense
* @param {boolean} centerTitle
* @param {HTMLElement | Window} scrollTarget
*/
const VwcTopAppBarFixed = wrapper('vwc-top-app-bar-fixed', {
events: [],
attributes: [],
properties: []
});
VwcTopAppBarFixed.propTypes = {
alternate: PropTypes.bool/* default: false *//* attribute: alternate */,
prominent: PropTypes.bool,
dense: PropTypes.bool,
centerTitle: PropTypes.bool,
scrollTarget: PropTypes.any /* HTMLElement | Window */
}
VwcTopAppBarFixed.defaultProps = {
alternate: false
}
VwcTopAppBarFixed.displayName = 'VwcTopAppBarFixed'
export default VwcTopAppBarFixed