Use @typescript-eslint/semi.

Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
Panu Horsmalahti committed 2020-11-19 18:12:52 +02:00
1 parent 0b182ccf6f
commit 460dfe4d2b
179 files changed
+556 -554

No files matched your search

+3 -3
View File
@@ -42,7 +42,7 @@ export type RadioProps = React.HTMLProps<any> & {
checked?: boolean;
disabled?: boolean;
onChange?(value: React.ChangeEvent<HTMLInputElement>): void;
}
};
export class Radio extends React.Component<RadioProps> {
private elem: HTMLElement;
@@ -52,7 +52,7 @@ export class Radio extends React.Component<RadioProps> {
if (!checked && onChange) {
onChange(value);
}
}
};
onKeyDown = (e: React.KeyboardEvent<any>) => {
const SPACE_KEY = e.keyCode === 32;
@@ -61,7 +61,7 @@ export class Radio extends React.Component<RadioProps> {
this.elem.click();
e.preventDefault();
}
}
};
render() {
const { className, label, checked, children, ...inputProps } = this.props;