UNPKG

@vonage/vivid-react

Version:

Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings

149 lines (139 loc) 3.13 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-radio-list-item", "path": "./../node_modules/@vonage/vwc-list/src/vwc-radio-list-item.ts", "description": "This component is an extension of [<mwc-radio-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" } ] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-list' import '@vonage/vwc-list/vwc-radio-list-item' /** This component is an extension of [<mwc-radio-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 VwcRadioListItem = wrapper('vwc-radio-list-item', { events: [{"name":"list-item-rendered"},{"name":"request-selected"}], attributes: [], properties: [] }); VwcRadioListItem.propTypes = { onRequestSelected: PropTypes.func, onListItemRendered: 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 } VwcRadioListItem.defaultProps = { } VwcRadioListItem.displayName = 'VwcRadioListItem' export default VwcRadioListItem