import { Icon, Text } from '@grafana/ui';
interface Props {
namespace: string;
group?: string;
}
const RuleLocation = ({ namespace, group }: Props) => {
if (!group) {
return (
{namespace}
);
}
return (
{namespace} {group}
);
};
export { RuleLocation };