@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
154 lines (144 loc) • 3.27 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-check-list-item",
"path": "./../node_modules/@vonage/vwc-list/src/vwc-check-list-item.ts",
"description": "This component is an extension of [<mwc-check-list-item>](https://github.com/material-components/material-components-web-components/tree/master/packages/list)",
"properties": [
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "left",
"type": "boolean",
"bindable": false
},
{
"name": "ripple",
"type": "Promise<Ripple | null>"
},
{
"name": "value",
"type": "string",
"bindable": false
},
{
"name": "group",
"type": "string | null",
"bindable": false
},
{
"name": "tabindex",
"type": "number",
"bindable": false
},
{
"name": "disabled",
"type": "boolean",
"bindable": false
},
{
"name": "twoline",
"type": "boolean",
"bindable": false
},
{
"name": "activated",
"type": "boolean",
"bindable": false
},
{
"name": "graphic",
"type": "GraphicType",
"bindable": false
},
{
"name": "multipleGraphics",
"type": "boolean",
"bindable": false
},
{
"name": "hasMeta",
"type": "boolean",
"bindable": false
},
{
"name": "noninteractive",
"type": "boolean",
"bindable": false
},
{
"name": "selected",
"type": "boolean",
"bindable": false
},
{
"name": "text",
"type": "string",
"bindable": false
}
],
"events": [
{
"name": "request-selected"
},
{
"name": "list-item-rendered"
},
{
"name": "request-selected",
"propName": "onRequestSelected"
}
]
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-list'
import '@vonage/vwc-list/vwc-check-list-item'
/** This component is an extension of [<mwc-check-list-item>](https://github.com/material-components/material-components-web-components/tree/master/packages/list)
* @param {boolean} left
* @param {string} value
* @param {string | null} group
* @param {number} tabindex
* @param {boolean} disabled
* @param {boolean} twoline
* @param {boolean} activated
* @param {GraphicType} graphic
* @param {boolean} multipleGraphics
* @param {boolean} hasMeta
* @param {boolean} noninteractive
* @param {boolean} selected
* @param {string} text
*/
const VwcCheckListItem = wrapper('vwc-check-list-item', {
events: [{"name":"request-selected","propName":"onRequestSelected"},{"name":"list-item-rendered"}],
attributes: [],
properties: []
});
VwcCheckListItem.propTypes = {
onRequestSelected: PropTypes.func,
onListItemRendered: PropTypes.func,
onRequestSelected: PropTypes.func,
left: PropTypes.bool,
value: PropTypes.string,
group: PropTypes.string,
tabindex: PropTypes.number,
disabled: PropTypes.bool,
twoline: PropTypes.bool,
activated: PropTypes.bool,
graphic: PropTypes.any /* GraphicType */,
multipleGraphics: PropTypes.bool,
hasMeta: PropTypes.bool,
noninteractive: PropTypes.bool,
selected: PropTypes.bool,
text: PropTypes.string
}
VwcCheckListItem.defaultProps = {
}
VwcCheckListItem.displayName = 'VwcCheckListItem'
export default VwcCheckListItem