mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-12 02:43:50 +00:00
e204f671be
refactor: remove unused code refactor: extract loader component refactor: prevent keyword collision refactor: cleanup hook pending states
19 lines
397 B
TypeScript
19 lines
397 B
TypeScript
import { CSSProperties } from 'react';
|
|
|
|
import Empty from './Empty';
|
|
|
|
import style from './EmptyPage.module.scss';
|
|
|
|
interface EmptyPageProps {
|
|
text?: string;
|
|
injectedStyles?: CSSProperties;
|
|
}
|
|
|
|
export default function EmptyPage({ text, injectedStyles }: EmptyPageProps) {
|
|
return (
|
|
<div className={style.page}>
|
|
<Empty text={text} injectedStyles={injectedStyles} />
|
|
</div>
|
|
);
|
|
}
|