Migrate conversations to ESLint

This commit is contained in:
Chris Svenningsen 2020-09-14 12:51:27 -07:00 committed by Josh Perez
parent b4f0f3c685
commit 372aa44e49
90 changed files with 1261 additions and 1165 deletions

View file

@ -1,16 +1,9 @@
/**
* @prettier
*/
import React from 'react';
interface Props {
label: string;
}
export class EmptyState extends React.Component<Props> {
public render() {
const { label } = this.props;
return <div className="module-empty-state">{label}</div>;
}
}
export const EmptyState = ({ label }: Props): JSX.Element => (
<div className="module-empty-state">{label}</div>
);