import { Link } from "react-router-dom";
import iconButton from '../../styles/iconButton.svg'
import '../../styles/styles.css'

export const Button: React.FC<any> = ({text}) => {
    return (
        <a href="https://stream.graff.tech/" className="link">
        <button className="main-block__button">
          {text.button}
          <div className="main-block__icon_container">
            <img alt="icon" src={iconButton} className="main-block__icon"></img>
          </div>
        </button>
      </a>
)
}