Devendra174's picture
Upload folder using huggingface_hub
f5071ca verified
raw
history blame contribute delete
355 Bytes
import React from 'react'
import './TopTrailerComponent.css'
const TopTrailerComponent = (props) => {
const backgroundPicture = {
backgroundImage: `url(${props.image})`
}
return (
<div className="VideoComponent" style={backgroundPicture}>
{props.children}
</div>
)
}
export default TopTrailerComponent