diff --git a/public/app/core/components/FormSwitch/FormSwitch.tsx b/public/app/core/components/FormSwitch/FormSwitch.tsx deleted file mode 100644 index 96260edde8a..00000000000 --- a/public/app/core/components/FormSwitch/FormSwitch.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import React, { PureComponent } from 'react'; -import _ from 'lodash'; - -export interface Props { - label: string; - checked: boolean; - labelClass?: string; - switchClass?: string; - onChange: (event) => any; -} - -export interface State { - id: any; -} - -export class FormSwitch extends PureComponent { - state = { - id: _.uniqueId(), - }; - - internalOnChange = event => { - event.stopPropagation(); - - this.props.onChange(event); - }; - - render() { - const { labelClass, switchClass, label, checked } = this.props; - const labelId = `check-${this.state.id}`; - const labelClassName = `gf-form-label ${labelClass} pointer`; - const switchClassName = `gf-form-switch ${switchClass}`; - - return ( -
- {label && ( - - )} -
- -
-
- ); - } -} - -export default FormSwitch; diff --git a/public/app/core/components/InfoPopover/InfoPopover.tsx b/public/app/core/components/InfoPopover/InfoPopover.tsx deleted file mode 100644 index eb08349aef1..00000000000 --- a/public/app/core/components/InfoPopover/InfoPopover.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import React, { SFC } from 'react'; -interface Props {} -const InfoPopover: SFC = props => { - return
; -}; - -export default InfoPopover;