Migrate conversations to ESLint
This commit is contained in:
parent
b4f0f3c685
commit
372aa44e49
90 changed files with 1261 additions and 1165 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue