@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
125 lines (115 loc) • 2.67 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-fab",
"path": "./../node_modules/@vonage/vwc-fab/src/vwc-fab.ts",
"description": "This component is an extension of [<mwc-fab>](https://github.com/material-components/material-components-web-components/tree/master/packages/fab)",
"attributes": [
{
"name": "connotation",
"type": "\"regular\" | \"cta\" | undefined"
}
],
"properties": [
{
"name": "connotation",
"attribute": "connotation",
"type": "\"regular\" | \"cta\" | undefined",
"bindable": false
},
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "shadowRootOptions",
"type": "ShadowRootInit",
"bindable": false
},
{
"name": "ripple",
"type": "Promise<Ripple | null>"
},
{
"name": "mini",
"type": "boolean",
"bindable": false
},
{
"name": "exited",
"type": "boolean",
"bindable": false
},
{
"name": "disabled",
"type": "boolean",
"bindable": false
},
{
"name": "extended",
"type": "boolean",
"bindable": false
},
{
"name": "showIconAtEnd",
"type": "boolean",
"bindable": false
},
{
"name": "reducedTouchTarget",
"type": "boolean",
"bindable": false
},
{
"name": "icon",
"type": "string",
"bindable": false
},
{
"name": "label",
"type": "string",
"bindable": false
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-fab'
/** This component is an extension of [<mwc-fab>](https://github.com/material-components/material-components-web-components/tree/master/packages/fab)
* @param {"regular" | "cta" | undefined} connotation attribute: <VwcFab connotation />
* @param {ShadowRootInit} shadowRootOptions
* @param {boolean} mini
* @param {boolean} exited
* @param {boolean} disabled
* @param {boolean} extended
* @param {boolean} showIconAtEnd
* @param {boolean} reducedTouchTarget
* @param {string} icon
* @param {string} label
*/
const VwcFab = wrapper('vwc-fab', {
events: [],
attributes: [],
properties: []
});
VwcFab.propTypes = {
connotation: PropTypes.any /* "regular" | "cta" | undefined *//* attribute: connotation */,
shadowRootOptions: PropTypes.any /* ShadowRootInit */,
mini: PropTypes.bool,
exited: PropTypes.bool,
disabled: PropTypes.bool,
extended: PropTypes.bool,
showIconAtEnd: PropTypes.bool,
reducedTouchTarget: PropTypes.bool,
icon: PropTypes.string,
label: PropTypes.string
}
VwcFab.defaultProps = {
}
VwcFab.displayName = 'VwcFab'
export default VwcFab