mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
20 lines
471 B
TypeScript
20 lines
471 B
TypeScript
import { CSSProperties } from 'react';
|
|
import { styled } from '../../styles';
|
|
|
|
export const ModalWrapper = styled.div<{
|
|
width?: CSSProperties['width'];
|
|
height?: CSSProperties['height'];
|
|
minHeight?: CSSProperties['minHeight'];
|
|
}>(({ theme, width, height, minHeight }) => {
|
|
return {
|
|
width,
|
|
height,
|
|
minHeight,
|
|
backgroundColor: theme.colors.popoverBackground,
|
|
borderRadius: '24px',
|
|
position: 'relative',
|
|
};
|
|
});
|
|
|
|
export default ModalWrapper;
|