@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
99 lines (89 loc) • 2.01 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-linear-progress",
"path": "./../node_modules/@vonage/vwc-linear-progress/src/vwc-linear-progress.ts",
"attributes": [
{
"name": "connotation",
"type": "LinearProgressConnotation | undefined"
}
],
"properties": [
{
"name": "connotation",
"attribute": "connotation",
"type": "LinearProgressConnotation | undefined",
"bindable": false
},
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "indeterminate",
"type": "boolean",
"bindable": false
},
{
"name": "progress",
"type": "number",
"bindable": false
},
{
"name": "buffer",
"type": "number",
"bindable": false
},
{
"name": "reverse",
"type": "boolean",
"bindable": false
},
{
"name": "closed",
"type": "boolean",
"bindable": false
},
{
"name": "ariaLabel",
"type": "string | undefined",
"bindable": false
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-linear-progress'
/**
* @param {LinearProgressConnotation | undefined} connotation attribute: <VwcLinearProgress connotation />
* @param {boolean} indeterminate
* @param {number} progress
* @param {number} buffer
* @param {boolean} reverse
* @param {boolean} closed
* @param {string | undefined} ariaLabel
*/
const VwcLinearProgress = wrapper('vwc-linear-progress', {
events: [],
attributes: [],
properties: []
});
VwcLinearProgress.propTypes = {
connotation: PropTypes.any /* LinearProgressConnotation | undefined *//* attribute: connotation */,
indeterminate: PropTypes.bool,
progress: PropTypes.number,
buffer: PropTypes.number,
reverse: PropTypes.bool,
closed: PropTypes.bool,
ariaLabel: PropTypes.string
}
VwcLinearProgress.defaultProps = {
}
VwcLinearProgress.displayName = 'VwcLinearProgress'
export default VwcLinearProgress