<commit_before>import React from 'react';
import Icon from '../icon/Icon';
import AppLink, { Props as LinkProps } from '../link/AppLink';

interface Props extends LinkProps {
    icon: string;
    info: string;
}
export const SidebarListItemHeaderLinkButton = ({ info, icon, ...rest }: Props) => {
    return (
        <AppLink className="flex navigation-link-header-group-control flex-item-noshrink" type="button" {...rest}>
            <Icon name={icon} className="navigation-icon" />
            <span className="sr-only">{info}</span>
        </AppLink>
    );
};

export default SidebarListItemHeaderLinkButton;<commit_msg>[MAILWEB-2364] Right align the settings button in Sidebar<commit_after>import React from 'react';
import Icon from '../icon/Icon';
import AppLink, { Props as LinkProps } from '../link/AppLink';

interface Props extends LinkProps {
    icon: string;
    info: string;
}
export const SidebarListItemHeaderLinkButton = ({ info, icon, ...rest }: Props) => {
    return (
        <AppLink
            className="flex navigation-link-header-group-control flex-item-noshrink mr-0-5"
            type="button"
            {...rest}
        >
            <Icon name={icon} className="navigation-icon" />
            <span className="sr-only">{info}</span>
        </AppLink>
    );
};

export default SidebarListItemHeaderLinkButton;
{'fraction_non_alphanumeric': 0.13979289940828402, 'fraction_numerical': 0.004437869822485207, 'mean_word_length': 2.9911504424778763, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2497699', 'n_tokens_mistral': 393, 'n_tokens_neox': 389, 'n_words': 99}