Empty placeholder component. CSS fixes.

This commit is contained in:
Mike Cao committed 2020-08-10 19:54:03 -07:00
1 parent cd76cc895f
commit e309376150
8 files changed
+85 -19

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import React from 'react';
import Icon from 'components/common/Icon';
import Logo from 'assets/logo.svg';
import styles from './EmptyPlaceholder.module.css';
export default function EmptyPlaceholder({ msg, children }) {
return (
<div className={styles.placeholder}>
<Icon icon={<Logo />} size="xlarge" />
<h2>{msg}</h2>
{children}
</div>
);
}