@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
94 lines (89 loc) • 2.06 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"kind": "class",
"description": "",
"name": "Menubar",
"members": [
{
"kind": "field",
"name": "menuItems",
"type": {
"text": "string | undefined"
}
},
{
"kind": "field",
"name": "#textEditorElement",
"privacy": "private",
"readonly": true
},
{
"kind": "field",
"name": "#updateTextStyleState",
"privacy": "private",
"type": {
"text": "EventListener"
},
"default": "(() => {\n\t\tthis.dispatchEvent(\n\t\t\tnew CustomEvent('text-styles-changed', {\n\t\t\t\tdetail: this.#textEditorElement?.selectionStyles,\n\t\t\t})\n\t\t);\n\t})"
},
{
"kind": "field",
"name": "VIVID_VERSION",
"static": true,
"default": "__PACKAGE_VERSION__",
"description": "The current version of the Vivid library, which is useful for debugging.\nIt can be accessed from any Vivid element via `<el>.constructor.VIVID_VERSION`.",
"type": {
"text": "string"
},
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
},
{
"kind": "field",
"name": "componentName",
"type": {
"text": "string"
},
"static": true,
"description": "Core component name, without prefix",
"inheritedFrom": {
"name": "VividElement",
"module": "src/shared/foundation/vivid-element/vivid-element.ts"
}
}
],
"attributes": [
{
"name": "menu-items",
"type": {
"text": "string | undefined"
},
"fieldName": "menuItems"
}
],
"mixins": [
{
"name": "Localized",
"module": "/src/shared/patterns"
}
],
"superclass": {
"name": "VividElement",
"module": "/src/shared/foundation/vivid-element/vivid-element"
}
}
*/
import wrapper from '@vonage/vivid-react-wrapper'
const VwcMenubar = wrapper(`vvd3-menubar`, {
events: [],
attributes: [],
properties: ['menuItems', 'VIVID_VERSION', 'componentName']
})
VwcMenubar.displayName = 'VwcMenubar'
export default VwcMenubar