mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 18:06:35 +00:00
34 lines
633 B
TypeScript
34 lines
633 B
TypeScript
|
|
import { Button, Select, SelectProps, Space, Typography } from 'antd';
|
||
|
|
import { FunctionComponent } from 'react';
|
||
|
|
import styled from 'styled-components';
|
||
|
|
|
||
|
|
export const DashboardSelect: FunctionComponent<SelectProps> = styled(
|
||
|
|
Select,
|
||
|
|
)<SelectProps>`
|
||
|
|
width: 100%;
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const SelectWrapper = styled(Space)`
|
||
|
|
width: 100%;
|
||
|
|
margin-bottom: 1rem;
|
||
|
|
|
||
|
|
.ant-space-item:first-child {
|
||
|
|
width: 100%;
|
||
|
|
max-width: 20rem;
|
||
|
|
}
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const Wrapper = styled(Space)`
|
||
|
|
width: 100%;
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const NewDashboardButton = styled(Button)`
|
||
|
|
&&& {
|
||
|
|
padding: 0 0.125rem;
|
||
|
|
}
|
||
|
|
`;
|
||
|
|
|
||
|
|
export const Title = styled(Typography.Text)`
|
||
|
|
font-size: 1rem;
|
||
|
|
`;
|