This repository has been archived on 2026-07-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drive/frontend/node_modules/react-pdf/src/Message.tsx
Elijah 267d429122
Some checks failed
Automated Container Build / build-and-push (push) Failing after 8s
Numerous Bug Fixes
2026-05-22 15:50:45 -07:00

8 lines
280 B
TypeScript

type MessageProps = {
children?: React.ReactNode;
type: 'error' | 'loading' | 'no-data';
};
export default function Message({ children, type }: MessageProps): React.ReactElement {
return <div className={`react-pdf__message react-pdf__message--${type}`}>{children}</div>;
}