mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 11:53:49 +00:00
21 lines
383 B
TypeScript
21 lines
383 B
TypeScript
import { CSSProperties } from 'react';
|
|
|
|
import Empty from './Empty';
|
|
|
|
import style from './EmptyPage.module.scss';
|
|
|
|
interface EmptyPageProps {
|
|
text?: string;
|
|
style?: CSSProperties;
|
|
}
|
|
|
|
export default function EmptyPage(props: EmptyPageProps) {
|
|
const { text, ...rest } = props;
|
|
|
|
return (
|
|
<div className={style.page}>
|
|
<Empty text={text} {...rest} />
|
|
</div>
|
|
);
|
|
}
|