Files
ontime/apps/client/src/common/components/state/EmptyPage.tsx
T
2024-12-13 10:12:06 +01:00

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>
);
}