@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
91 lines (82 loc) • 2.07 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-action-group",
"path": "./../node_modules/@vonage/vwc-action-group/src/vwc-action-group.ts",
"description": "Represents an action-group custom element.",
"attributes": [
{
"name": "shape",
"type": "ActionGroupShape | undefined"
},
{
"name": "layout",
"type": "ActionGroupLayout | undefined"
},
{
"name": "tight",
"type": "boolean",
"default": "false"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult",
"default": "\"style\""
},
{
"name": "shape",
"attribute": "shape",
"type": "ActionGroupShape | undefined",
"bindable": false
},
{
"name": "layout",
"attribute": "layout",
"type": "ActionGroupLayout | undefined",
"bindable": false
},
{
"name": "tight",
"attribute": "tight",
"type": "boolean",
"default": "false",
"bindable": false
}
],
"slots": [
{
"name": "",
"description": "This is a default/unnamed slot to assign text content. *deprecated* please use _text_ property instead"
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-action-group'
/** Represents an action-group custom element.
* @param {ActionGroupShape | undefined} shape attribute: <VwcActionGroup shape />
* @param {ActionGroupLayout | undefined} layout attribute: <VwcActionGroup layout />
* @param {boolean} tight attribute: <VwcActionGroup tight />
*/
const VwcActionGroup = wrapper('vwc-action-group', {
events: [],
attributes: [],
properties: []
});
VwcActionGroup.propTypes = {
shape: PropTypes.any /* ActionGroupShape | undefined *//* attribute: shape */,
layout: PropTypes.any /* ActionGroupLayout | undefined *//* attribute: layout */,
tight: PropTypes.bool/* default: false *//* attribute: tight */
}
VwcActionGroup.defaultProps = {
tight: false
}
VwcActionGroup.displayName = 'VwcActionGroup'
export default VwcActionGroup