26 lines
527 B
TypeScript
26 lines
527 B
TypeScript
import React from 'react';
|
|
import logo from './logo.svg';
|
|
import './App.css';
|
|
import PromptArea from './components/PromptArea';
|
|
import { Op, Operation } from './components/Operation';
|
|
import Nugget from './components/Nugget';
|
|
|
|
function App() {
|
|
const c = (
|
|
<div className="App">
|
|
<PromptArea>
|
|
<Operation initialOp={Op.AND}>
|
|
<Nugget text='cookie' />
|
|
<Nugget text='chocolate' />
|
|
</Operation>
|
|
</PromptArea>
|
|
</div>
|
|
);
|
|
|
|
console.log(c);
|
|
|
|
return c;
|
|
}
|
|
|
|
export default App;
|