mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 09:30:01 +08:00
18 lines
441 B
TypeScript
18 lines
441 B
TypeScript
import React, { CSSProperties, HTMLAttributes, PropsWithChildren } from 'react';
|
|
import { styled } from '@/styles';
|
|
|
|
export const ModalWrapper = styled.div<{
|
|
width?: CSSProperties['width'];
|
|
height?: CSSProperties['height'];
|
|
}>(({ theme, width, height }) => {
|
|
return {
|
|
width,
|
|
height,
|
|
backgroundColor: theme.colors.popoverBackground,
|
|
borderRadius: '12px',
|
|
position: 'relative',
|
|
};
|
|
});
|
|
|
|
export default ModalWrapper;
|