Sha256: dc3e223f1d1a4bc5775af99654d4094e273bae77ab0df3acf3ccadd89624d573

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

import React from 'react';
import {Router} from '@shopify/react-router';
import {usePerformanceReport} from '@shopify/react-performance';

import {I18n} from './I18n';
import {Polaris} from './Polaris';
import {Routes} from './Routes';

export function App({url}: {url: URL}) {
  usePerformanceReport('/performance_report');

  return (
    <I18n>
      <Polaris>
        <Router location={url}>
          <Routes />
        </Router>
      </Polaris>
    </I18n>
  );
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quilt_rails-3.1.0 lib/generators/quilt/demo_app/templates/app-ui/foundation/App.tsx