You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
393 B
23 lines
393 B
3 years ago
|
import logo from './logo.svg';
|
||
|
import {useEffect,useState} from 'react';
|
||
|
import './App.css';
|
||
|
|
||
|
function Equation(p) {
|
||
|
const [operator,setOperator] = useState("disabled")
|
||
|
const [val,setVal] = useState(0)
|
||
|
|
||
|
return <>val</>
|
||
|
}
|
||
|
|
||
|
function App() {
|
||
|
return (
|
||
|
<div className="App">
|
||
|
<header className="App-header">
|
||
|
<Equation/>
|
||
|
</header>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default App;
|