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.
15 lines (14 loc) • 493 B
TypeScript
import { AppBskyFeedPost } from "@atproto/api";
import { PostThread } from "../api/index.js";
import { Theme } from "../utils.js";
interface Props {
thread: PostThread;
theme: Theme;
hidePost?: boolean;
}
export declare function Post({ thread, theme, hidePost }: Props): import("react").JSX.Element;
export declare function PostContent({ record, isComment, }: {
record: AppBskyFeedPost.Record | null;
isComment?: boolean;
}): import("react").JSX.Element | null;
export {};