Adding the icon

This commit is contained in:
mikwee 2021-11-08 21:25:52 +02:00
parent 17b761ec89
commit 028d8c9c57

View file

@ -37,7 +37,7 @@ function App() {
res = <Button id="pinterest" variant="primary" href={rootDetail.url}><Pinterest/> {rootDetail.text}</Button> res = <Button id="pinterest" variant="primary" href={rootDetail.url}><Pinterest/> {rootDetail.text}</Button>
} }
else if (rootDetail.type === "tumblr") { else if (rootDetail.type === "tumblr") {
res = <Button id="tumblr" variant="primary" href={rootDetail.url}>{rootDetail.text}</Button> res = <Button id="tumblr" variant="primary" href={rootDetail.url}><Tumblr/>{rootDetail.text}</Button>
} }
else if (rootDetail.type === "reddit") { else if (rootDetail.type === "reddit") {
res = <Button id="reddit" variant="primary" href={rootDetail.url}><Reddit/> {rootDetail.text}</Button> res = <Button id="reddit" variant="primary" href={rootDetail.url}><Reddit/> {rootDetail.text}</Button>