Sha256: 2ef5c6fd032aa0f87b9b19d0b71e5ffdbfeeb96183b3b2428eeb8a7f576337fa
Contents?: true
Size: 490 Bytes
Versions: 14
Compression:
Stored size: 490 Bytes
Contents
import React from "react"; import PropTypes from "prop-types"; export default class RichTextToolbarButton extends React.Component { render() { return ( <a title={this.props.name} className={"button " + this.props.className} onClick={this.props.onClick}> <i className={"fa fa-" + this.props.className} /> </a> ); } } RichTextToolbarButton.propTypes = { className: PropTypes.string, name: PropTypes.string, onClick: PropTypes.func };
Version data entries
14 entries across 14 versions & 1 rubygems