mirror of https://github.com/sylv/micro.git
11 lines
402 B
TypeScript
11 lines
402 B
TypeScript
import { Embeddable } from "./embeddable";
|
|
|
|
export const EmbedDefault = ({ data }: { data: Embeddable }) => {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center w-full select-none h-44">
|
|
<h1 className="flex items-center mb-2 text-xl font-bold">{data.type}</h1>
|
|
<span className="text-sm text-gray-500">No preview available for this file type.</span>
|
|
</div>
|
|
);
|
|
};
|