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-empty-state", "path": "./../node_modules/@vonage/vwc-empty-state/vwc-empty-state.d.ts", "properties": [ { "name": "icon", "type": "string | undefined", "bindable": false }, { "name": "heading", "type": "string | undefined", "bindable": false }, { "name": "body", "type": "string | undefined", "bindable": false } ], "events": [] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-empty-state' /** * @param {string | undefined} icon * @param {string | undefined} heading * @param {string | undefined} body */ const VwcEmptyState = wrapper('vwc-empty-state', { events: [], attributes: [], properties: [] }); VwcEmptyState.propTypes = { icon: PropTypes.string, heading: PropTypes.string, body: PropTypes.string } VwcEmptyState.defaultProps = { } VwcEmptyState.displayName = 'VwcEmptyState' export default VwcEmptyState