18 lines
483 B
JavaScript
18 lines
483 B
JavaScript
import './App.css';
|
|
import Button from "./components/Button";
|
|
import {arrowLeft} from "./Icons";
|
|
import {arrowRight} from "./Icons";
|
|
|
|
function App() {
|
|
|
|
return (
|
|
<div className="App">
|
|
<Button icon={arrowLeft} iconWidth={50} iconHeight={50} width={200} height={100}/>
|
|
<Button icon={arrowRight}></Button>
|
|
<Button text={"Hallo"} onClick={() => {console.log("test")}}></Button>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default App;
|