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

Version Path
hippo-fw-0.9.5 client/hippo/components/shared/IconButton.jsx
hippo-fw-0.9.4 client/hippo/components/shared/IconButton.jsx
hippo-fw-0.9.3 client/hippo/components/shared/IconButton.jsx
hippo-fw-0.9.2 client/hippo/components/shared/IconButton.jsx
hippo-fw-0.9.1 client/hippo/components/shared/IconButton.jsx
lanes-0.8.3 client/lanes/components/shared/IconButton.jsx
lanes-0.8.2 client/lanes/components/shared/IconButton.jsx
lanes-0.8.1 client/lanes/components/shared/IconButton.jsx
lanes-0.8.0 client/lanes/components/shared/IconButton.jsx