UNPKG

@vonage/vivid-react

Version:

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

135 lines (130 loc) 2.91 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "kind": "class", "description": "", "name": "Header", "slots": [ { "description": "Default slot.", "name": "" }, { "description": "Nodes assigned to action-items slot will be set at the end of the header.", "name": "action-items" }, { "description": "Content vertically aligned with header.", "name": "app-content" } ], "members": [ { "kind": "field", "name": "elevationShadow", "type": { "text": "boolean" }, "default": "false", "description": "header elevation shadow", "privacy": "public" }, { "kind": "field", "name": "alternate", "type": { "text": "boolean" }, "default": "false", "description": "applies scheme alternate to header region", "privacy": "public" }, { "kind": "field", "name": "_vividAriaBehaviour", "default": "'delegate'", "type": { "text": "'delegate'" }, "inheritedFrom": { "name": "DelegatesAria", "module": "src/shared/aria/delegates-aria.ts" } }, { "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": "elevation-shadow", "type": { "text": "boolean" }, "default": "false", "description": "header elevation shadow", "fieldName": "elevationShadow" }, { "name": "alternate", "type": { "text": "boolean" }, "default": "false", "description": "applies scheme alternate to header region", "fieldName": "alternate" } ], "mixins": [ { "name": "DelegatesAria", "module": "/src/shared/aria/delegates-aria" } ], "superclass": { "name": "VividElement", "module": "/src/shared/foundation/vivid-element/vivid-element" }, "vividComponent": { "public": true, "name": "header" } } */ import wrapper from '@vonage/vivid-react-wrapper' import { registerHeader } from '@vonage/vivid' registerHeader('vvd3') const VwcHeader = wrapper(`vvd3-header`, { events: [], attributes: [], properties: ['elevationShadow', 'alternate', '_vividAriaBehaviour', 'VIVID_VERSION', 'componentName'] }) VwcHeader.displayName = 'VwcHeader' export default VwcHeader