mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 00:24:45 +01:00
button component
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
import React from 'react'
|
||||
import logo from './logo.svg'
|
||||
import './App.css'
|
||||
import './custom.css'
|
||||
|
||||
// Major Components
|
||||
import Topbar from './components/TopBar'
|
||||
import BigButton from './components/common/BigButton'
|
||||
|
||||
function playGame() {
|
||||
alert('cum')
|
||||
}
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Topbar />
|
||||
<button onClick={() => console.log('cum')}>Cool button</button>
|
||||
<BigButton text="PLAY DA GAME :D" onClick={playGame} id="officialPlay" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user