-
Notifications
You must be signed in to change notification settings - Fork 0
/
Widgets copy.js
31 lines (29 loc) · 993 Bytes
/
Widgets copy.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import React from 'react';
import './Widgets.css';
import {
TwitterTimelineEmbed,
TwitterShareButton,
TwitterTweetEmbed
} from "react-twitter-embed";
import SearchIcon from '@mui/icons-material/Search';
function Widgets() {
return (
<div className = "widgets">
<div className = "widgets__input">
<SearchIcon className = "widgets__searchIcon" />
<input placeholder = "Search Twitter" type = "text" />
</div>
<div className = "widgets__widgetContainer">
<h2> What's happening</h2>
<TwitterTweetEmbed tweetId = {""}/>
<TwitterTimelineEmbed
sourceType='profile'
screenName='cleverqazi'
options = {{height: 400}} />
<TwitterShareButton url = {""}
options = {{text: "#reactjs is awesome", via: "cleverqazi"}} />
</div>
</div>
)
}
export default Widgets