diff --git a/src/components/AppleTVFlag.astro b/src/components/AppleTVFlag.astro new file mode 100644 index 0000000..983f733 --- /dev/null +++ b/src/components/AppleTVFlag.astro @@ -0,0 +1,26 @@ +--- +// Cspell:words astro etflix +import Link from './Link.astro'; + +export interface Props { + class?: string; + id: string; + [key: string]: any; +} + +const { class: className, id, ...props } = Astro.props; +--- + + diff --git a/src/mdx-components.ts b/src/mdx-components.ts index efb7f0a..fcc13f1 100644 --- a/src/mdx-components.ts +++ b/src/mdx-components.ts @@ -2,6 +2,7 @@ import { YouTube } from '@astro-community/astro-embed-youtube'; import AmazonBook from './components/AmazonBook.astro'; +import AppleTVFlag from './components/AppleTVFlag.astro'; import Banner from './components/Banner.astro'; import Blockquote from './components/Blockquote.astro'; import Book from './components/Book.astro'; @@ -40,6 +41,7 @@ export const mapping = { a: TextLink, ProductLink, AmazonBook, + AppleTVFlag, Banner, Blockquote, blockquote: Blockquote,