mirror of
https://github.com/flarum/core.git
synced 2025-07-28 12:10:51 +02:00
15 lines
420 B
TypeScript
15 lines
420 B
TypeScript
/**
|
|
* The `TextEditorButton` component displays a button suitable for the text
|
|
* editor toolbar.
|
|
*
|
|
* Automatically creates tooltips using the Tooltip component and provided text.
|
|
*
|
|
* ## Attrs
|
|
* - `title` - Tooltip for the button
|
|
*/
|
|
export default class TextEditorButton extends Button<import("./Button").IButtonAttrs> {
|
|
static initAttrs(attrs: any): void;
|
|
constructor();
|
|
}
|
|
import Button from "./Button";
|