UNPKG

@vonage/vivid-react

Version:

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

58 lines (48 loc) 1.09 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "name": "vwc-theme-switch", "path": "./../node_modules/@vonage/vwc-theme-switch/src/vwc-theme-switch.ts", "attributes": [ { "name": "scheme", "type": "SchemeOption | undefined" } ], "properties": [ { "name": "styles", "type": "CSSResult", "default": "\"style\"" }, { "name": "scheme", "attribute": "scheme", "type": "SchemeOption | undefined", "bindable": false } ], "events": [] } */ import PropTypes from 'prop-types' import wrapper from '@vonage/vivid-react-wrapper' import '@vonage/vwc-theme-switch' /** * @param {SchemeOption | undefined} scheme attribute: <VwcThemeSwitch scheme /> */ const VwcThemeSwitch = wrapper('vwc-theme-switch', { events: [], attributes: [], properties: [] }); VwcThemeSwitch.propTypes = { scheme: PropTypes.any /* SchemeOption | undefined *//* attribute: scheme */ } VwcThemeSwitch.defaultProps = { } VwcThemeSwitch.displayName = 'VwcThemeSwitch' export default VwcThemeSwitch