--- /** * Tweet embed component for Portable Text * * Wraps astro-embed's Tweet component, extracting props from the PT block node. * astro-portabletext passes `node` (not `value`) for custom type components. */ import { Tweet as AstroTweet } from "astro-embed"; import type { TweetBlock } from "../schemas.js"; interface Props { node: TweetBlock; } const { node } = Astro.props; const { id, theme } = node; ---