@vonage/vivid-react
Version:
Vivid wrapped for easy React usage & IDE autocomplete support & typescript typings
89 lines (79 loc) • 1.59 kB
JavaScript
/*
* DO NOT EDIT THIS FILE. IT IS GENERATED
*/
/*
Code in this file were generated using following JSON:
{
"name": "vwc-file-picker",
"path": "./../node_modules/@vonage/vwc-file-picker/vwc-file-picker.d.ts",
"properties": [
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "label",
"type": "string",
"bindable": false
},
{
"name": "helper",
"type": "string",
"bindable": false
},
{
"name": "validationMessage",
"type": "string",
"bindable": false
},
{
"name": "notAFileError",
"type": "string",
"bindable": false
},
{
"name": "tooManyFilesError",
"type": "string",
"bindable": false
},
{
"name": "drop-zone",
"type": "boolean"
},
{
"name": "noCounter",
"type": "boolean",
"bindable": false
}
],
"events": []
}
*/
import PropTypes from 'prop-types'
import wrapper from '@vonage/vivid-react-wrapper'
import '@vonage/vwc-file-picker'
/**
* @param {string} label
* @param {string} helper
* @param {string} validationMessage
* @param {string} notAFileError
* @param {string} tooManyFilesError
* @param {boolean} noCounter
*/
const VwcFilePicker = wrapper('vwc-file-picker', {
events: [],
attributes: [],
properties: []
});
VwcFilePicker.propTypes = {
label: PropTypes.string,
helper: PropTypes.string,
validationMessage: PropTypes.string,
notAFileError: PropTypes.string,
tooManyFilesError: PropTypes.string,
noCounter: PropTypes.bool
}
VwcFilePicker.defaultProps = {
}
VwcFilePicker.displayName = 'VwcFilePicker'
export default VwcFilePicker