Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ui-component-library / src / forms / input / plugins / Button / ButtonInput.tsx
Size: Mime:
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