|
@@ -1,4 +1,4 @@
|
|
|
-import React, { SFC } from 'react';
|
|
|
|
|
|
|
+import React, { FC } from 'react';
|
|
|
import { Label } from '@grafana/ui';
|
|
import { Label } from '@grafana/ui';
|
|
|
|
|
|
|
|
import { Switch } from '../../../core/components/Switch/Switch';
|
|
import { Switch } from '../../../core/components/Switch/Switch';
|
|
@@ -10,7 +10,7 @@ export interface Props {
|
|
|
onDefaultChange: (value: boolean) => void;
|
|
onDefaultChange: (value: boolean) => void;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const BasicSettings: SFC<Props> = ({ dataSourceName, isDefault, onDefaultChange, onNameChange }) => {
|
|
|
|
|
|
|
+const BasicSettings: FC<Props> = ({ dataSourceName, isDefault, onDefaultChange, onNameChange }) => {
|
|
|
return (
|
|
return (
|
|
|
<div className="gf-form-group">
|
|
<div className="gf-form-group">
|
|
|
<div className="gf-form-inline">
|
|
<div className="gf-form-inline">
|