import React, { Ref } from 'react';
import { c } from 'ttag';
import { Icon, DropdownCaret } from '../../';

interface Props extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
    content?: string;
    className?: string;
    isOpen?: boolean;
    buttonRef?: Ref<HTMLButtonElement>;
}

const SupportDropdownButton = ({ content = c('Header').t`Help`, className, isOpen, buttonRef, ...rest }: Props) => {
    return (
        <button type="button" className={className} aria-expanded={isOpen} ref={buttonRef} {...rest}>
            <Icon name="support1" className="flex-item-noshrink topnav-icon mr0-5 flex-item-centered-vert" />
            <span className="navigation-title topnav-linkText mr0-5">{content}</span>
            <DropdownCaret isOpen={isOpen} className="expand-caret topnav-icon mtauto mbauto" />
        </button>
    );
};

export default SupportDropdownButton;

import React, { Ref } from 'react';
import { c } from 'ttag';
import { Icon, DropdownCaret } from '../../';

interface Props extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
    content?: string;
    className?: string;
    isOpen?: boolean;
    buttonRef?: Ref<HTMLButtonElement>;
}

const SupportDropdownButton = ({ content = c('Header').t`Support`, className, isOpen, buttonRef, ...rest }: Props) => {
    return (
        <button type="button" className={className} aria-expanded={isOpen} ref={buttonRef} {...rest}>
            <Icon name="support1" className="flex-item-noshrink topnav-icon mr0-5 flex-item-centered-vert" />
            <span className="navigation-title topnav-linkText mr0-5">{content}</span>
            <DropdownCaret isOpen={isOpen} className="expand-caret topnav-icon mtauto mbauto" />
        </button>
    );
};

export default SupportDropdownButton;

--- 
+++ 
@@ -9,7 +9,7 @@
     buttonRef?: Ref<HTMLButtonElement>;
 }
 
-const SupportDropdownButton = ({ content = c('Header').t`Support`, className, isOpen, buttonRef, ...rest }: Props) => {
+const SupportDropdownButton = ({ content = c('Header').t`Help`, className, isOpen, buttonRef, ...rest }: Props) => {
     return (
         <button type="button" className={className} aria-expanded={isOpen} ref={buttonRef} {...rest}>
             <Icon name="support1" className="flex-item-noshrink topnav-icon mr0-5 flex-item-centered-vert" />
Rename support button to help
