Repository URL to install this package:
Version:
0.9.6 ▾
|
// always has default element so won't call render prop for now
// const Element = this.props.element || this.props.renderProp
// @todo sadness for heart & soul
// const Element = div(className, styles)
// ghost ghost-button-styled-rider-wrap paypal ghost
// @see jsx-a11y/click-events-have-key-events
// const elementView = (
// <Element
// // is handled by react
// // onTouchMove
// // onTouchStart={this.handleTouchStart}
// // onTouchMove={this.handleTouchMove}
// // onTouchEnd={this.handleTouchEnd}
// onFocus={this.state.handleFocus}
// onBlur={this.state.handleBlur}
// onKeyDown={this.handleKeyDown}
// onClick={this.handleClick}
// {...attributes}
// {...this.accessibleAttributes}
// >
// {value}
// </Element>
// )