Restructure code

This commit is contained in:
KingRainbow44
2022-05-08 18:51:35 -04:00
parent 2019eae7b1
commit 8b51488a41
7 changed files with 2 additions and 2 deletions

17
src/ui/App.tsx Normal file
View File

@@ -0,0 +1,17 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
function buttonFunctionality() {
alert('Button clicked!');
}
function App() {
return (
<div className="App">
<button onClick={buttonFunctionality}>Cool button</button>
</div>
);
}
export default App;