Sha256: be3b54a7e57f338a7cc64bc28c06bba210b9186f5ed06cfaa1256d17b005f340
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 Bytes
Contents
import React from "react"; interface Props { src: string; } export default function Placeholder(props: Props) { if (props.src) { return ( <div className="temp-image"> <img src={props.src} /> <span>Uploading...</span> </div> ); } else { return ( <div className="file-placeholder"> <span>Uploading...</span> </div> ); } }
Version data entries
4 entries across 4 versions & 1 rubygems