UNPKG

@vonage/vivid-react

Version:

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

61 lines (51 loc) 1.07 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-chip-set", "path": "./../node_modules/@vonage/vwc-chips/vwc-chip-set.d.ts", "properties": [ { "name": "styles", "type": "CSSResult" }, { "name": "type", "type": "ChipType | undefined", "bindable": false }, { "name": "chips", "type": "readonly ChipBase[]" } ], "events": [ { "name": "MDCChip:selection", "propName": "onSelection" } ] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-chips' import '@vonage/vwc-chips/vwc-chip-set' /** * @param {ChipType | undefined} type */ const VwcChipSet = wrapper('vwc-chip-set', { events: [{"name":"MDCChip:selection","propName":"onSelection"}], attributes: [], properties: [] }); VwcChipSet.propTypes = { onSelection: PropTypes.func, type: PropTypes.any /* ChipType | undefined */ } VwcChipSet.defaultProps = { } VwcChipSet.displayName = 'VwcChipSet' export default VwcChipSet