/* * @author Stéphane LaFlèche * @copyright 2009-2019 Vanilla Forums Inc. * @license GPL-2.0-only */ /** * @author Adam (charrondev) Charron * @copyright 2009-2019 Vanilla Forums Inc. * @license GPL-2.0-only */ import React from "react"; import { richEditorClasses } from "@rich-editor/editor/richEditorStyles"; interface IProps { icon: JSX.Element; className?: string; } export class IconForButtonWrap extends React.PureComponent { public render() { const classesRichEditor = richEditorClasses(false); return ( <> {this.props.icon} ); } }