@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
85 lines (75 loc) • 1.7 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-circular-progress",
"path": "./../node_modules/@vonage/vwc-circular-progress/vwc-circular-progress.d.ts",
"properties": [
{
"name": "connotation",
"type": "CircularProgressConnotation | undefined",
"bindable": false
},
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "indeterminate",
"type": "boolean",
"bindable": false
},
{
"name": "progress",
"type": "number",
"bindable": false
},
{
"name": "density",
"type": "number",
"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-circular-progress'
/**
* @param {CircularProgressConnotation | undefined} connotation
* @param {boolean} indeterminate
* @param {number} progress
* @param {number} density
* @param {boolean} closed
* @param {string | undefined} ariaLabel
*/
const VwcCircularProgress = wrapper('vwc-circular-progress', {
events: [],
attributes: [],
properties: []
});
VwcCircularProgress.propTypes = {
connotation: PropTypes.any /* CircularProgressConnotation | undefined */,
indeterminate: PropTypes.bool,
progress: PropTypes.number,
density: PropTypes.number,
closed: PropTypes.bool,
ariaLabel: PropTypes.string
}
VwcCircularProgress.defaultProps = {
}
VwcCircularProgress.displayName = 'VwcCircularProgress'
export default VwcCircularProgress