Repository URL to install this package:
|
Version:
0.14.1 ▾
|
import React from 'react'
import { Button } from 'atoms/Button'
import { InputChain } from 'src/forms/input/InputChain'
class ButtonInput extends InputChain {
static isSatisfiedByProps(props): boolean {
return props.type === 'button'
}
render() {
const props = this.get('props')
console.log('ButtonInput_render', props)
return <Button {...props} text={props.value} data-qa={props.dataQa} />
}
}
export { ButtonInput }
export default ButtonInput