Repository URL to install this package:
Version:
0.9.5 ▾
|
import React from 'react'
import { Button } from 'atoms/Button'
import { InputChain } from '../../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}/>
}
}
export { ButtonInput }
export default ButtonInput