UnavailableFeatureInfoBox.tsx 466 B

12345678910111213141516171819
  1. import React from 'react';
  2. import { InfoBox } from '@grafana/ui';
  3. export interface Props {
  4. message: string;
  5. }
  6. export const UnavailableFeatureInfoBox: React.FC<Props> = ({ message }) => {
  7. return (
  8. <InfoBox
  9. title="Feature not available with an expired license"
  10. url="https://grafana.com/docs/grafana/latest/enterprise/license-expiration/"
  11. urlTitle="Read more on license expiration"
  12. >
  13. <span>{message}</span>
  14. </InfoBox>
  15. );
  16. };