UNPKG

@vonage/vivid-react

Version:

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

56 lines (46 loc) 943 B
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-tab-bar", "path": "./../node_modules/@vonage/vwc-tab-bar/vwc-tab-bar.d.ts", "properties": [ { "name": "styles", "type": "CSSResult[]" }, { "name": "activeIndex", "type": "number", "bindable": false } ], "events": [ { "name": "MDCTabBar:activated", "propName": "onActivated" } ] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-tab-bar' /** * @param {number} activeIndex */ const VwcTabBar = wrapper('vwc-tab-bar', { events: [{"name":"MDCTabBar:activated","propName":"onActivated"}], attributes: [], properties: [] }); VwcTabBar.propTypes = { onActivated: PropTypes.func, activeIndex: PropTypes.number } VwcTabBar.defaultProps = { } VwcTabBar.displayName = 'VwcTabBar' export default VwcTabBar