You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
523 B
TypeScript
30 lines
523 B
TypeScript
/**
|
|
* @prettier
|
|
*/
|
|
import React from 'react';
|
|
|
|
import * as Colors from '../../styles/Colors';
|
|
|
|
interface Props {
|
|
label: string;
|
|
}
|
|
|
|
const styles = {
|
|
container: {
|
|
display: 'flex',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
flexGrow: 1,
|
|
|
|
fontSize: 28,
|
|
color: Colors.TEXT_SECONDARY,
|
|
} as React.CSSProperties,
|
|
};
|
|
|
|
export class EmptyState extends React.Component<Props, {}> {
|
|
public render() {
|
|
const { label } = this.props;
|
|
return <div style={styles.container}>{label}</div>;
|
|
}
|
|
}
|