Bug 1810215 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Requirements 
=============
Renders
-------------

* An optional string describing the command it performs (Ex: “Edit”, “Remove”, etc…)
* An optional icon
* Optional tooltip for describing the action

Interactivity
-------------
Runs a callback that performs the desired action 

Styling
-------------
See https://firefoxux.github.io/firefox-desktop-components/?path=/story/ui-widgets-button--regular-button. We should reuse this if possible. 

Props
-------------
* `onClick`: <Function> The function to run when the button is clicked
* `l10nId`: Optional <string> An l10n-id that translates to the rendered command string
* `icon`: Optional <string> The source URL of the icon to render  
* `state`: Optional <string> The state of the button
* `disabled`: Optional <boolean> Whether or not the button is interactive
Requirements 
=============
Renders
-------------

* An optional string describing the command it performs (Ex: “Edit”, “Remove”, etc…)
* An optional icon
* Optional tooltip for describing the action

Interactivity
-------------
Runs a callback that performs the desired action 

Styling
-------------
See https://firefoxux.github.io/firefox-desktop-components/?path=/story/ui-widgets-button--regular-button. We should reuse this if possible. 

Props
-------------
* `onClick`: <Function> The function to run when the button is clicked
* `l10nId`: Optional <string> An l10n-id that translates to the rendered command string
* `icon`: Optional <string> The source URL of the icon to render  
* `state`: Optional <string> The state of the button
* `disabled`: Optional <boolean> Whether or not the button is interactive
* `tooltipText`: Optional <string> Tooltip text describing the action of the button

Back to Bug 1810215 Comment 3