Sha256: 7a9f2d7a2fd26c659ae10ab634a44486b0147e2f288924698d697ccff13f28fe
Contents?: true
Size: 495 Bytes
Versions: 9
Compression:
Stored size: 495 Bytes
Contents
import React from 'react'; export class IconButton extends BaseComponent { render() { const buttonProps = _.omit(this.props, 'icon', 'iconProps'); buttonProps.export className = _.classnames(buttonProps.className, 'flush'); return ( React.createElement(BS.Button, Object.assign({}, buttonProps), React.createElement(LC.Icon, Object.assign({"type": (this.props.icon), "lg": true}, this.props.iconProps )) ) ); } }
Version data entries
9 entries across 9 versions & 2 rubygems