import React from "react";
import logo from "./logo.svg";
import "./App.css";
import { Button } from "@sc/plugins/webcomponents/v2/Button/live";
import { style } from "@sc/plugins/webcomponents/v2/Button/style";

function App() {
  return (
    <div className="App">
      <header className="App-header">
        <img src={logo} className="App-logo" alt="logo" />
        <p>
          Edit <code>src/App.tsx</code> and save to reload.
        </p>
        <Button
          style={{ ...style.BUTTON.style, margin: 0 }}
          hoverStyle={{ backgroundColor: "#FF0000" }}
          caption1="YES! Please Add To My Order!"
          caption1style={{
            ...style.BUTTON.caption1,
          }}
          caption2="Thank You For The Discount!"
          caption2style={style.BUTTON.caption2}
        />
        <a
          className="App-link"
          href="https://reactjs.org"
          target="_blank"
          rel="noopener noreferrer"
        >
          Learn React
        </a>
      </header>
    </div>
  );
}

export default App;
