UNPKG

@vonage/vivid-react

Version:

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

102 lines (97 loc) 2.21 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "kind": "class", "description": "Base class for all Vivid elements.", "name": "VividElement", "members": [ { "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" } }, { "kind": "field", "name": "componentName", "type": { "text": "string" }, "static": true, "description": "Core component name, without prefix" }, { "kind": "field", "name": "specialHandling", "type": { "text": "boolean" }, "default": "false", "inheritedFrom": { "name": "AriaMixin", "module": "src/shared/aria/aria-mixin.ts" } }, { "kind": "field", "name": "_vividAriaBehaviour", "type": { "text": "VividAriaBehaviour" }, "default": "'default'", "inheritedFrom": { "name": "AriaMixin", "module": "src/shared/aria/aria-mixin.ts" } }, { "kind": "method", "name": "#handleReplacedProp", "parameters": [ { "name": "replacedProp", "type": { "text": "ReplacedPropConfiguration<any, any>" } } ], "inheritedFrom": { "name": "ReplacedPropHandling", "module": "src/shared/deprecation/replaced-props.ts" } } ], "mixins": [ { "name": "AriaMixin", "module": "/src/shared/aria/aria-mixin" }, { "name": "ReplacedPropHandling", "module": "/src/shared/deprecation/replaced-props" } ], "superclass": { "name": "FASTElement", "package": "@microsoft/fast-element" }, "customElement": true } */ import wrapper from '@vonage/vivid-react-wrapper' import { registerVividElement } from '@vonage/vivid' registerVividElement('vvd3') const VwcVividElement = wrapper(`vvd3-vivid-element`, { events: [], attributes: [], properties: ['VIVID_VERSION', 'componentName', 'specialHandling', '_vividAriaBehaviour'] }) VwcVividElement.displayName = 'VwcVividElement' export default VwcVividElement