UNPKG

@totalsoft/rocket-ui

Version:

A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.

24 lines (19 loc) 694 B
import MuiDialogContent from '@mui/material/DialogContent' import MuiDialogTitle from '@mui/material/DialogTitle' import Backdrop from '@mui/material/Backdrop' import { styled } from '@mui/material/styles' export const justifyRight = { position: 'absolute', top: 16, right: 14 } export const DialogContent = styled(MuiDialogContent)(({ theme }) => ({ fontFamily: theme.typography.defaultFont.fontFamily, fontSize: theme.typography.defaultFont.fontSize })) export const DialogTitle = styled(MuiDialogTitle)(({ theme }) => ({ fontFamily: theme.typography.defaultFont.fontFamily })) export const TransparentBackdrop = styled(Backdrop)(() => ({ backgroundColor: 'transparent' }))