mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: replace React.FC<Props> with simple function component (#54123)
This commit is contained in:
@@ -9,7 +9,7 @@ import { PanelOptions } from './models.gen';
|
||||
|
||||
type Props = PanelProps<PanelOptions>;
|
||||
|
||||
export const HistogramPanel: React.FC<Props> = ({ data, options, width, height }) => {
|
||||
export const HistogramPanel = ({ data, options, width, height }: Props) => {
|
||||
const theme = useTheme2();
|
||||
|
||||
const histogram = useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user