mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 21:45:43 +01:00
used new Component
This commit is contained in:
@@ -21,9 +21,9 @@ class ButtonGroup extends React.Component<Props> {
|
||||
let showSecondColor = secondColor;
|
||||
|
||||
if (firstIsSelected) {
|
||||
showFirstColor += " is-selected";
|
||||
showFirstColor += "link is-selected";
|
||||
} else {
|
||||
showSecondColor += " is-selected";
|
||||
showSecondColor += "link is-selected";
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -5,6 +5,9 @@ export { default as Button } from "./Button.js";
|
||||
export { default as CreateButton } from "./CreateButton.js";
|
||||
export { default as DeleteButton } from "./DeleteButton.js";
|
||||
export { default as EditButton } from "./EditButton.js";
|
||||
export { default as RemoveEntryOfTableButton } from "./RemoveEntryOfTableButton.js";
|
||||
export { default as SubmitButton } from "./SubmitButton.js";
|
||||
export {default as DownloadButton} from "./DownloadButton.js";
|
||||
export { default as DownloadButton } from "./DownloadButton.js";
|
||||
export { default as ButtonGroup } from "./ButtonGroup.js";
|
||||
export {
|
||||
default as RemoveEntryOfTableButton
|
||||
} from "./RemoveEntryOfTableButton.js";
|
||||
|
||||
Reference in New Issue
Block a user