import C from 'bsl-mp/app/Component'; import * as Export from './export'; const state = { }; class Instance extends C { constructor() { super(state, { src: { type: Object, value: { raw: '', width: 0, height: 0 } }, fill: { type: String, value: '#000' }, width: { type: String, value: '' }, height: { type: String, value: '' }, hidden: Boolean }); } public externalClasses = ['wrap-cls']; public bindClick() { this.triggerEvent('click', {}); } } Component(new Instance().init());