mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
clarified ButtonGroup vs ButtonAddons
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// @flow
|
||||
import React from "react";
|
||||
import { translate } from "react-i18next";
|
||||
import { ButtonGroup, Button } from "@scm-manager/ui-components";
|
||||
import { ButtonAddons, Button } from "@scm-manager/ui-components";
|
||||
|
||||
type Props = {
|
||||
t: string => string,
|
||||
@@ -26,7 +26,7 @@ class FileButtonGroup extends React.Component<Props> {
|
||||
const { t, historyIsSelected } = this.props;
|
||||
|
||||
return (
|
||||
<ButtonGroup connected={true}>
|
||||
<ButtonAddons>
|
||||
<Button
|
||||
action={this.showSources}
|
||||
className="reduced-mobile"
|
||||
@@ -47,7 +47,7 @@ class FileButtonGroup extends React.Component<Props> {
|
||||
</span>
|
||||
<span>{t("sources.content.historyButton")}</span>
|
||||
</Button>
|
||||
</ButtonGroup>
|
||||
</ButtonAddons>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user