Sha256: b8838177905d8ef89fbba513ed83f4ec30015a675866424b2dd08a672b71343d
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 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-solid fa-" + this.props.className} /> </a> ); } } RichTextToolbarButton.propTypes = { className: PropTypes.string, name: PropTypes.string, onClick: PropTypes.func };
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.12.1 | app/javascript/components/RichTextToolbarButton.jsx |