Skip to content

Commit

Permalink
fix placeholder is not exposed as prop #54
Browse files Browse the repository at this point in the history
  • Loading branch information
capaj committed Feb 21, 2022
1 parent 5caecde commit 240e29d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tweet-embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class TweetEmbed extends React.Component<ITweetEmbedProps> {
static propTypes = {
tweetId: PropTypes.string,
options: PropTypes.object,
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
protocol: PropTypes.string,
onTweetLoadSuccess: PropTypes.func,
onTweetLoadError: PropTypes.func,
Expand Down

0 comments on commit 240e29d

Please sign in to comment.