mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 18:06:35 +00:00
* feat: add the export panel * feat: dropdown overlay is updated to dropdown * chore: loading variable is updated for create dashboard * chore: export panel is updated --------- Co-authored-by: Nazarenko19 <danil.nazarenko2000@gmail.com> Co-authored-by: Palash Gupta <palashgdev@gmail.com>
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;
|
|
`;
|