Sha256: a33259659cde0945214fe8c0999ed10113ba74df6074da7c3715368067daa998
Contents?: true
Size: 364 Bytes
Versions: 1
Compression:
Stored size: 364 Bytes
Contents
type 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.15.5 | app/javascript/components/ImageGrid/Placeholder.tsx |