UNPKG

@vonage/vivid-react

Version:

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

60 lines (50 loc) 1.07 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-note", "path": "./../node_modules/@vonage/vwc-note/vwc-note.d.ts", "properties": [ { "name": "connotation", "type": "NoteConnotation | undefined", "bindable": false }, { "name": "icon", "type": "string | undefined", "bindable": false }, { "name": "header", "type": "string | undefined", "bindable": false } ], "events": [] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-note' /** * @param {NoteConnotation | undefined} connotation * @param {string | undefined} icon * @param {string | undefined} header */ const VwcNote = wrapper('vwc-note', { events: [], attributes: [], properties: [] }); VwcNote.propTypes = { connotation: PropTypes.any /* NoteConnotation | undefined */, icon: PropTypes.string, header: PropTypes.string } VwcNote.defaultProps = { } VwcNote.displayName = 'VwcNote' export default VwcNote