mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-03-15 06:00:12 +08:00
14 lines
385 B
TypeScript
14 lines
385 B
TypeScript
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);
|