mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-26 12:02:19 +00:00
14 lines
284 B
TypeScript
14 lines
284 B
TypeScript
|
|
import { Modal as ModalComponent } from 'antd';
|
||
|
|
import styled from 'styled-components';
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
height?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const Modal = styled(ModalComponent)<Props>`
|
||
|
|
.ant-modal-content,
|
||
|
|
.ant-modal-body {
|
||
|
|
min-height: ${({ height = '80vh' }): string => height};
|
||
|
|
}
|
||
|
|
`;
|