clipper/frontend/src/App.tsx

16 lines
291 B
TypeScript
Raw Normal View History

2021-09-06 10:17:50 +00:00
import React from 'react';
import './App.css';
2021-09-30 14:16:51 +00:00
import { Waveform } from './Waveform/Waveform';
2021-09-06 14:25:23 +00:00
const audioContext = new AudioContext();
2021-09-06 10:17:50 +00:00
2021-09-30 19:08:48 +00:00
function App(): JSX.Element {
2021-09-06 10:17:50 +00:00
return (
<div className="App">
2021-09-30 14:16:51 +00:00
<Waveform audioContext={audioContext} />
2021-09-06 10:17:50 +00:00
</div>
);
}
export default App;