import { css } from '@emotion/css'; import React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Button, Icon, Tooltip, useStyles2 } from '@grafana/ui'; type Props = { toggleShowAllSeries: () => void; info: React.ReactNode; tooltip: string; buttonLabel: React.ReactNode; }; export function LimitedDataDisclaimer(props: Props) { const { toggleShowAllSeries, info, tooltip, buttonLabel } = props; const styles = useStyles2(getStyles); return (