mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
implemented ui for pending plugin installation
This commit is contained in:
30
scm-ui/src/admin/plugins/components/PluginBottomActions.js
Normal file
30
scm-ui/src/admin/plugins/components/PluginBottomActions.js
Normal file
@@ -0,0 +1,30 @@
|
||||
// @flow
|
||||
import * as React from "react";
|
||||
import classNames from "classnames";
|
||||
import injectSheet from "react-jss";
|
||||
|
||||
const styles = {
|
||||
container: {
|
||||
border: "2px solid #e9f7fd",
|
||||
padding: "1em 1em",
|
||||
marginTop: "2em",
|
||||
display: "flex",
|
||||
justifyContent: "center"
|
||||
}
|
||||
};
|
||||
|
||||
type Props = {
|
||||
children?: React.Node,
|
||||
|
||||
// context props
|
||||
classes: any
|
||||
};
|
||||
|
||||
class PluginBottomActions extends React.Component<Props> {
|
||||
render() {
|
||||
const { children, classes } = this.props;
|
||||
return <div className={classNames(classes.container)}>{children}</div>;
|
||||
}
|
||||
}
|
||||
|
||||
export default injectSheet(styles)(PluginBottomActions);
|
||||
Reference in New Issue
Block a user