import { css } from '@emotion/css'; import * as React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Alert, LinkButton, useStyles2 } from '@grafana/ui'; interface AlertWarningProps { title: string; children: React.ReactNode; } export function AlertWarning({ title, children }: AlertWarningProps) { return (

{children}

To rule list
); } const warningStyles = (theme: GrafanaTheme2) => ({ warning: css({ margin: theme.spacing(4), }), });