This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
463 B
JavaScript

const VideoButton = ({ buttonVideoURL, buttonOneText }) => {
const openVideoLink = () => {
window.open(buttonVideoURL, "_blank");
};
return (
<div>
<button
className="px-20 mt-8 mx-5 py-2 text-white border border-blue-500 rounded hover:border-white transition duration-300 ease-in-out focus:outline-none"
onClick={openVideoLink}
>
{buttonOneText}
</button>
</div>
);
};
export default VideoButton;