mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-09-21 22:36:33 +08:00
Initial commit
This commit is contained in:
13
ui/src/components/Tooltip.tsx
Normal file
13
ui/src/components/Tooltip.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Theme, withStyles } from "@material-ui/core/styles";
|
||||
import Tooltip from "@material-ui/core/Tooltip";
|
||||
|
||||
// Export custom style tooltip.
|
||||
export default withStyles((theme: Theme) => ({
|
||||
tooltip: {
|
||||
backgroundColor: "#f5f5f9",
|
||||
color: "rgba(0, 0, 0, 0.87)",
|
||||
maxWidth: 400,
|
||||
fontSize: theme.typography.pxToRem(12),
|
||||
border: "1px solid #dadde9",
|
||||
},
|
||||
}))(Tooltip);
|
Reference in New Issue
Block a user