Repository URL to install this package:
|
Version:
2.1.2-perf.5 ▾
|
import React from 'react';
import { Button } from "../../../../../components/atoms/Button";
import { InputChain } from "../../../../../forms/input/InputChain";
class ButtonInput extends InputChain {
static isSatisfiedByProps(props) {
return props.type === 'button';
}
render() {
const props = this.get('props');
console.log('ButtonInput_render', props);
return React.createElement(Button, Object.assign({}, props, {
text: props.value,
"data-qa": props.dataQa
}));
}
}
export { ButtonInput };
export default ButtonInput; //# sourceMappingURL=ButtonInput.js.map