@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
29 lines (28 loc) • 649 B
JavaScript
import { styled as e, Box as r } from "@mui/material";
const i = e(r)(
({ disabled: o }) => ({
width: "4.4rem",
height: "4.4rem",
position: "relative",
borderRadius: "50%",
pointerEvents: o ? "none" : "auto",
"&:hover, :focus, :focus-visible": {
backgroundColor: o ? "transparent" : "#F8F9F9",
outline: "none"
}
})
), n = {
position: "absolute",
bottom: "5rem",
right: "-2rem",
backgroundColor: "white",
zIndex: 1e3,
padding: "1rem",
borderRadius: "1rem",
display: "flex",
boxShadow: "0px 0px 10px 0px rgba(0,0,0,0.1)"
};
export {
i as PickerBackgroundBox,
n as circlePickerStyle
};