UNPKG

react-bluesky-embed

Version:

React Bluesky Embed allows you to embed post threads, profiles, and comments in your React application when using Next.js, Create React App, Vite, and more.

1 lines 650 B
import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";import{ThemeContainer}from"./theme-container.js";export const PostThreadNotFound=({error,theme})=>{return /*#__PURE__*/_jsx(ThemeContainer,{theme:theme,children:/*#__PURE__*/_jsxs("div",{className:"transition w-full bg-red-50 dark:bg-gray-800 p-4 px-6 rounded-xl max-w-[600px] sm:min-w-[300px]",children:[/*#__PURE__*/_jsx("p",{className:"text-red-800 dark:text-red-400 text-center text-lg font-bold",children:"Post Thread not found"}),/*#__PURE__*/_jsx("p",{className:"text-red-800 dark:text-red-400 text-center mt-2 text-sm",children:"The embedded post thread could not be found..."})]})})};