mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
11 lines
304 B
TypeScript
11 lines
304 B
TypeScript
import { h, FunctionComponent } from "preact";
|
|
import "./ErrorPane.css";
|
|
|
|
const ErrorPane: FunctionComponent<unknown> = ({ children }) => {
|
|
return <div class="card error error-pane">
|
|
<h3>Error occured during widget load</h3>
|
|
<p>{children}</p>
|
|
</div>;
|
|
};
|
|
|
|
export default ErrorPane; |