Batch of views getting replaceableComponent decorators

This commit is contained in:
Travis Ralston 2021-03-08 20:12:00 -07:00
parent fc5b1ed9d6
commit c5935dbc61
46 changed files with 92 additions and 3 deletions

View file

@ -22,6 +22,7 @@ import React from 'react';
import classNames from 'classnames';
import Analytics from '../../../Analytics';
import AccessibleTooltipButton from "../elements/AccessibleTooltipButton";
import {replaceableComponent} from "../../../utils/replaceableComponent";
interface IProps {
// Whether this button is highlighted
@ -41,6 +42,7 @@ interface IProps {
// TODO: replace this, the composer buttons and the right panel buttons with a unified
// representation
@replaceableComponent("views.right_panel.HeaderButton")
export default class HeaderButton extends React.Component<IProps> {
constructor(props: IProps) {
super(props);