mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-10 17:33:10 +00:00
17 lines
413 B
TypeScript
17 lines
413 B
TypeScript
import { Placeholder } from "@codex-storage/marketplace-ui-components";
|
|
import { ErrorIcon } from "../ErrorIcon/ErrorIcon";
|
|
|
|
type Props = {
|
|
error: Error;
|
|
};
|
|
|
|
export function AvailabilityError({ error }: Props) {
|
|
return (
|
|
<Placeholder
|
|
Icon={<ErrorIcon />}
|
|
title="Error"
|
|
subtitle={"Got an error when trying to create the availability."}
|
|
message={error.message}></Placeholder>
|
|
);
|
|
}
|