|
|
@@ -1,6 +1,5 @@
|
|
|
import React, { PureComponent } from 'react';
|
|
|
import uniqueId from 'lodash/uniqueId';
|
|
|
-import { Input } from '@grafana/ui';
|
|
|
|
|
|
export interface Props {
|
|
|
label: string;
|
|
|
@@ -39,7 +38,7 @@ export class Switch extends PureComponent<Props, State> {
|
|
|
<label htmlFor={labelId} className={`gf-form gf-form-switch-container ${className || ''}`}>
|
|
|
{label && <div className={labelClassName}>{label}</div>}
|
|
|
<div className={switchClassName}>
|
|
|
- <Input id={labelId} type="checkbox" checked={checked} onChange={this.internalOnChange} />
|
|
|
+ <input id={labelId} type="checkbox" checked={checked} onChange={this.internalOnChange} />
|
|
|
<span className="gf-form-switch__slider" />
|
|
|
</div>
|
|
|
</label>
|