diff --git a/public/app/core/components/Animations/FadeIn.tsx b/public/app/core/components/Animations/FadeIn.tsx index e12f22486f1..ea9a92d5f0f 100644 --- a/public/app/core/components/Animations/FadeIn.tsx +++ b/public/app/core/components/Animations/FadeIn.tsx @@ -1,4 +1,4 @@ -import React, { SFC } from 'react'; +import React, { FC } from 'react'; import Transition from 'react-transition-group/Transition'; interface Props { @@ -8,7 +8,7 @@ interface Props { unmountOnExit?: boolean; } -export const FadeIn: SFC = props => { +export const FadeIn: FC = props => { const defaultStyle = { transition: `opacity ${props.duration}ms linear`, opacity: 0, diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx index 59ec913c34a..101168beb66 100644 --- a/public/app/core/components/Footer/Footer.tsx +++ b/public/app/core/components/Footer/Footer.tsx @@ -1,4 +1,4 @@ -import React, { SFC } from 'react'; +import React, { FC } from 'react'; import { Tooltip } from '@grafana/ui'; interface Props { @@ -9,7 +9,7 @@ interface Props { newGrafanaVersion: string; } -export const Footer: SFC = React.memo(({appName, buildVersion, buildCommit, newGrafanaVersionExists, newGrafanaVersion}) => { +export const Footer: FC = React.memo(({appName, buildVersion, buildCommit, newGrafanaVersionExists, newGrafanaVersion}) => { return (