D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
grafana
/
public
/
app
/
features
/
alerting
/
unified
/
components
/
Filename :
RuleLocation.tsx
back
Copy
import React from 'react'; import { Icon } from '@grafana/ui'; interface Props { namespace: string; group?: string; } const RuleLocation = ({ namespace, group }: Props) => { if (!group) { return <>{namespace}</>; } return ( <> {namespace} <Icon name="angle-right" /> {group} </> ); }; export { RuleLocation };