UNPKG

@vonage/vivid-react

Version:

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

156 lines (151 loc) 4.02 kB
/* * DO NOT EDIT THIS FILE. IT IS GENERATED */ /* Code in this file were generated using following JSON: { "kind": "class", "description": "[--layout-grid-template-columns=repeat([the `auto-sizing` mapped value],\nminmax([the `column-basis` mapped value], 1fr))] - Controls the `grid-template-columns` of the layout.", "name": "Layout", "slots": [ { "description": "Default slot.", "name": "" } ], "members": [ { "kind": "field", "name": "gutters", "type": { "text": "Gutters | undefined" }, "description": "sets the initial preferred margin from predefined available options", "privacy": "public" }, { "kind": "field", "name": "columnBasis", "type": { "text": "ColumnBasis | undefined" }, "description": "sets the initial preferred measure of a column from predefined available options", "privacy": "public" }, { "kind": "field", "name": "columnSpacing", "type": { "text": "ColumnSpacing | undefined" }, "description": "sets the initial preferred spacing of a column from predefined available options", "privacy": "public" }, { "kind": "field", "name": "rowSpacing", "type": { "text": "RowSpacing | undefined" }, "description": "sets the initial preferred spacing of a row from predefined available options", "privacy": "public" }, { "kind": "field", "name": "autoSizing", "type": { "text": "'fit' | 'fill' | undefined" }, "description": "sets the initial preferred auto-sizing from predefined available options", "privacy": "public" }, { "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": "gutters", "type": { "text": "Gutters | undefined" }, "description": "sets the initial preferred margin from predefined available options", "fieldName": "gutters" }, { "name": "column-basis", "type": { "text": "ColumnBasis | undefined" }, "description": "sets the initial preferred measure of a column from predefined available options", "fieldName": "columnBasis" }, { "name": "column-spacing", "type": { "text": "ColumnSpacing | undefined" }, "description": "sets the initial preferred spacing of a column from predefined available options", "fieldName": "columnSpacing" }, { "name": "row-spacing", "type": { "text": "RowSpacing | undefined" }, "description": "sets the initial preferred spacing of a row from predefined available options", "fieldName": "rowSpacing" }, { "name": "auto-sizing", "type": { "text": "'fit' | 'fill' | undefined" }, "description": "sets the initial preferred auto-sizing from predefined available options", "fieldName": "autoSizing" } ], "superclass": { "name": "VividElement", "module": "/src/shared/foundation/vivid-element/vivid-element" }, "vividComponent": { "public": true, "name": "layout" } } */ import wrapper from '@vonage/vivid-react-wrapper' import { registerLayout } from '@vonage/vivid' registerLayout('vvd3') const VwcLayout = wrapper(`vvd3-layout`, { events: [], attributes: [], properties: ['gutters', 'columnBasis', 'columnSpacing', 'rowSpacing', 'autoSizing', 'VIVID_VERSION', 'componentName'] }) VwcLayout.displayName = 'VwcLayout' export default VwcLayout