Skip to content
Snippets Groups Projects
Select Git revision
  • 4ebc81f1959e1fe8f7c0265bdb29d77bdd381194
  • main default protected
2 results

app.js

Blame
  • app.js 788 B
    import { Route } from 'react-router-dom';
    import { EndingNumberOutput } from './features/ending-number-output/endingNumberOutput.js';
    import { NumberInputField } from './features/number-input-field/numberInputField.js';
    import { UnitSelector } from './features/unit-selector/unitSelector.js';
    import { Card } from './features/card/card.js';
    
    export function App() {
      return (
        <>
          <Route exact path={'/'}>
          </Route>
          <Card title="Input Unit Selector">
            <UnitSelector type="Input"/>
          </Card>
          <Card title="Number Input">
            <NumberInputField />
          </Card>
          <Card title="Output Unit Selector">
            <UnitSelector type="Output"/>
          </Card>
          <Card title="Number Output">
            <EndingNumberOutput />
          </Card>
        </>
      );
    }