Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. // App.tsx
  2.  
  3. import 'styles/app.global.scss'; // Import the global styles once in the top-most App component
  4. import styles from './app.scss'; // Import modular styles for the App component
  5.  
  6. import React from 'react';
  7. import cx from 'classnames'; // Optional classname helper library
  8.  
  9. import { Header } from './Header';
  10.  
  11. export const App = () => (
  12. <div className={cx('container', styles.container)}> // Apply both a global class and a modular class
  13. <Header />
  14. </div>
  15. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement