@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
47 lines (38 loc) • 969 B
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-scheme-select",
"path": "./../node_modules/@vonage/vwc-scheme-select/src/vwc-scheme-select.ts",
"properties": [
{
"name": "schemes",
"type": "SchemeOption[]",
"default": "[\"syncWithOsSettings\",\"light\",\"dark\"]",
"bindable": true
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-scheme-select'
/**
* @param {SchemeOption[]} schemes
*/
const VwcSchemeSelect = wrapper('vwc-scheme-select', {
events: [],
attributes: [],
properties: ["schemes"]
});
VwcSchemeSelect.propTypes = {
schemes: PropTypes.array/* default: ["syncWithOsSettings","light","dark"] */
}
VwcSchemeSelect.defaultProps = {
schemes: ["syncWithOsSettings","light","dark"]
}
VwcSchemeSelect.displayName = 'VwcSchemeSelect'
export default VwcSchemeSelect