mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 22:15:45 +01:00
fixed missing classes prop
This commit is contained in:
@@ -1,22 +1,23 @@
|
|||||||
//@flow
|
//@flow
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import injectSheet from "react-jss";
|
import injectSheet from "react-jss";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
};
|
classes: any
|
||||||
|
};
|
||||||
const styles = {
|
|
||||||
textinfo: {
|
const styles = {
|
||||||
color: "#98d8f3 !important"
|
textinfo: {
|
||||||
}
|
color: "#98d8f3 !important"
|
||||||
};
|
}
|
||||||
|
};
|
||||||
class HelpIcon extends React.Component<Props> {
|
|
||||||
render() {
|
class HelpIcon extends React.Component<Props> {
|
||||||
const { classes } = this.props;
|
render() {
|
||||||
return <i className={classNames("fa fa-question-circle has-text-info", classes.textinfo)}></i>
|
const { classes } = this.props;
|
||||||
}
|
return <i className={classNames("fa fa-question-circle has-text-info", classes.textinfo)}></i>;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
export default injectSheet(styles)(HelpIcon);
|
|
||||||
|
export default injectSheet(styles)(HelpIcon);
|
||||||
|
|||||||
Reference in New Issue
Block a user