// Create a reference to the file we want to download
var starsRef = storageRef.child('images/stars.jpg');
// Get the download URL
starsRef.getDownloadURL().then(function(url) {
// Insert url into an <img> tag to "download"
})
{popular_tags!==undefined&&popular_tags.length > 0
? popular_tags.map((tag, index) => {
return (
<React.Fragment key={index}>
<ReactPlaceholder
showLoadingAnimation
type="textRow"
delay={2000}
ready={this.state.ready}
style={{
width: "25%",
display: "inline-block",
marginRight: 10
}}
>
<Link
to={`/tag/${tag.name}`}
className="popular_tags_item"
>
{`#${tag.name}`}
</Link>
</ReactPlaceholder>
</React.Fragment>
);
})
: null}