UNPKG

@vonage/vivid-react

Version:

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

152 lines (142 loc) 2.84 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-tab", "path": "./../node_modules/@vonage/vwc-tab-bar/vwc-tab.d.ts", "properties": [ { "name": "disabled", "type": "boolean", "bindable": false }, { "name": "block", "type": "boolean", "bindable": false }, { "name": "trailingIcon", "type": "boolean", "bindable": false }, { "name": "styles", "type": "CSSResult[]" }, { "name": "shadowRootOptions", "type": "ShadowRootInit", "bindable": false }, { "name": "label", "type": "string", "bindable": false }, { "name": "icon", "type": "string", "bindable": false }, { "name": "hasImageIcon", "type": "boolean", "bindable": false }, { "name": "isFadingIndicator", "type": "boolean", "bindable": false }, { "name": "minWidth", "type": "boolean", "bindable": false }, { "name": "isMinWidthIndicator", "type": "boolean", "bindable": false }, { "name": "active", "type": "boolean" }, { "name": "indicatorIcon", "type": "string", "bindable": false }, { "name": "stacked", "type": "boolean", "bindable": false }, { "name": "focusOnActivate", "type": "boolean", "bindable": false }, { "name": "ripple", "type": "Promise<Ripple | null>" }, { "name": "isRippleActive" } ], "events": [ { "name": "MDCTab:interacted", "propName": "onInteracted" } ] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-tab-bar' import '@vonage/vwc-tab-bar/vwc-tab' /** * @param {boolean} disabled * @param {boolean} block * @param {boolean} trailingIcon * @param {ShadowRootInit} shadowRootOptions * @param {string} label * @param {string} icon * @param {boolean} hasImageIcon * @param {boolean} isFadingIndicator * @param {boolean} minWidth * @param {boolean} isMinWidthIndicator * @param {string} indicatorIcon * @param {boolean} stacked * @param {boolean} focusOnActivate */ const VwcTab = wrapper('vwc-tab', { events: [{"name":"MDCTab:interacted","propName":"onInteracted"}], attributes: [], properties: [] }); VwcTab.propTypes = { onInteracted: PropTypes.func, disabled: PropTypes.bool, block: PropTypes.bool, trailingIcon: PropTypes.bool, shadowRootOptions: PropTypes.any /* ShadowRootInit */, label: PropTypes.string, icon: PropTypes.string, hasImageIcon: PropTypes.bool, isFadingIndicator: PropTypes.bool, minWidth: PropTypes.bool, isMinWidthIndicator: PropTypes.bool, indicatorIcon: PropTypes.string, stacked: PropTypes.bool, focusOnActivate: PropTypes.bool } VwcTab.defaultProps = { } VwcTab.displayName = 'VwcTab' export default VwcTab