@grafana/ui
Version:
Grafana Components Library
16 lines (15 loc) • 480 B
TypeScript
import React from 'react';
import { GrafanaTheme } from '@grafana/data';
export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
children: React.ReactNode;
description?: React.ReactNode;
category?: string[];
}
export declare const getLabelStyles: (theme: GrafanaTheme) => {
label: string;
labelContent: string;
description: string;
categories: string;
chevron: string;
};
export declare const Label: React.FC<LabelProps>;