Sha256: 4615199f461cce9b078146a1227dbc3b365e1af774c92dfce58973ab55835270
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
import React, { MouseEvent } from "react"; interface Props { className: string; name: string; onClick: (evt: React.MouseEvent) => void; } export default function RichTextToolbarButton(props: Props) { return ( <a title={props.name} className={"button " + props.className} onClick={props.onClick}> <i className={"fa-solid fa-" + props.className} /> </a> ); }
Version data entries
4 entries across 4 versions & 1 rubygems