twitter-card

v1.1.2arrow_drop_down
v1.1.2
v1.1.1
v1.1.0
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
1,714
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
5 KB
Shows a single tweet, with username and avatar.
1 contributor
Install twitter-card as a package?
Copied
npm i @bit/bit.evangelist.marketing.twitter-card
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
TwitterCard ()

Shows a single tweet, with username and avatar.

Example
<TwitterCard
verified
title="@Sketch2R"
image={'homepage-bit/tweets/sketch2r.jpg'}
>
Great news! We just published our first Stratos components to
http://bit.dev!
</TwitterCard>
Properties
NameTypeDescription
title
(required)
string

Twitter username

image
(required)
string

User avatar

verified
(required)
boolean

shows user as ‘verified’

titleId
string

html id attached to title

textId
string

html id attached to content

Help and resources