ente/packages/shared/components/DialogBox/DialogIcon.tsx

19 lines
429 B
TypeScript
Raw Normal View History

2023-11-02 16:53:14 +00:00
import { Box } from '@mui/material';
import React from 'react';
export default function DialogIcon({ icon }: { icon: React.ReactNode }) {
return (
<Box
className="DialogIcon"
sx={{
svg: {
width: '48px',
height: '48px',
},
color: 'stroke.muted',
}}>
{icon}
</Box>
);
}