Sha256: 9aa96c08b500ea92238ee4811c2cc2ba2b434f60469bd19677f22c7eafc492d8

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

import React from "react";

interface RichTextToolbarButtonProps {
  className: string,
  name: string,
  onClick: (evt: Event) => void
}

export default function RichTextToolbarButton(props: RichTextToolbarButtonProps) {
  return (
    <a title={props.name}
      className={"button " + props.className}
      onClick={props.onClick}>
      <i className={"fa-solid fa-" + props.className} />
    </a>
  );
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pages_core-3.12.4 app/javascript/components/RichTextToolbarButton.tsx
pages_core-3.12.3 app/javascript/components/RichTextToolbarButton.tsx
pages_core-3.12.2 app/javascript/components/RichTextToolbarButton.tsx