mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-23 02:17:11 +00:00
20 lines
396 B
TypeScript
20 lines
396 B
TypeScript
|
|
import { Select } from 'antd';
|
||
|
|
import styled, { css } from 'styled-components';
|
||
|
|
|
||
|
|
// ** Types
|
||
|
|
import { DropdownLabel } from './QueryLabel.interfaces';
|
||
|
|
|
||
|
|
const LabelStyle = css`
|
||
|
|
width: fit-content;
|
||
|
|
min-width: 5.75rem;
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const StyledSingleLabel = styled(Select)`
|
||
|
|
pointer-events: none;
|
||
|
|
${LabelStyle}
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const StyledDropdownLabel = styled(Select)<DropdownLabel>`
|
||
|
|
${LabelStyle}
|
||
|
|
`;
|