Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

604 B
Raw Blame
import { ArrowLeft } from '@signozhq/icons';
import { Button } from '@signozhq/ui/button';
import styles from './BackToAllVariables.module.scss';
import { VariableFormProps } from '../../types';

const BackToAllVariables = ({
	onClose,
}: {
	onClose: VariableFormProps['onClose'];
}): JSX.Element => {
	return (
		<div className={styles.backToAllVariables}>
			<Button
				variant="ghost"
				color="secondary"
				prefix={<ArrowLeft size={14} />}
				onClick={onClose}
				testId="variable-form-back"
				size="md"
			>
				All variables
			</Button>
		</div>
	);
};

export default BackToAllVariables;