Skip to content

Commit

Permalink
feat: add "cards" option to 'Tweet' component (#1269)
Browse files Browse the repository at this point in the history
Co-authored-by: Ethan Niser <whatplan00@gmail.com>
  • Loading branch information
ethanniser and Ethan Niser committed Feb 3, 2024
1 parent b4dcc0e commit 48fa9d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client/builtin/Tweet.vue
Expand Up @@ -15,6 +15,7 @@ const props = defineProps<{
id: string | number
scale?: string | number
conversation?: string
cards?: 'hidden' | 'visible'
}>()
const tweet = ref<HTMLElement | null>()
Expand All @@ -31,6 +32,7 @@ async function create() {
{
theme: isDark.value ? 'dark' : 'light',
conversation: props.conversation || 'none',
cards: props.cards,
},
)
loaded.value = true
Expand Down

0 comments on commit 48fa9d6

Please sign in to comment.