mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Avoid explicit React.FC<Props> when possible (round 2) (#64749)
This commit is contained in:
@@ -48,7 +48,7 @@ interface ComponentAProps {
|
||||
isActive: boolean;
|
||||
}
|
||||
|
||||
const ComponentA: React.FC<ComponentAProps> = ({ isActive }) => {
|
||||
const ComponentA = ({ isActive }: ComponentAProps) => {
|
||||
const theme = useTheme();
|
||||
const styles = useStyles2(theme);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user