mirror of
https://github.com/quantum5/totp.git
synced 2025-08-15 21:29:37 -04:00
20 lines
383 B
TypeScript
20 lines
383 B
TypeScript
|
import {useState} from 'react';
|
||
|
import Input from './Input.tsx';
|
||
|
|
||
|
function App() {
|
||
|
const [secret, setSecret] = useState('');
|
||
|
|
||
|
return (
|
||
|
<div className="totp-app">
|
||
|
<div className="totp-settings">
|
||
|
<Input label="Secret key" value={secret} onChange={setSecret} />
|
||
|
</div>
|
||
|
<div className="totp-output">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
export default App;
|