Skip to content

Commit

Permalink
chore: initial scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
rosnovsky committed Feb 13, 2024
1 parent fe7e554 commit 8c29fa9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default function mastodonEmbed(
url: string,
options?: {
size?: "small" | "medium" | "large";
},
): string {
return `<a href=${url}>Embed View: ${options?.size ?? "medium"}</a>`;
}
Empty file added src/types.d.ts
Empty file.

0 comments on commit 8c29fa9

Please sign in to comment.