import React from 'react';
import ReactDOM from 'react-dom';
import 'tailwindcss/tailwind.css';
import Paper from './components/Paper';
import Header from './components/Header';
import Button from './components/Button';

const navigation = [
  { name: 'Главная', route: '/'},
  { name: 'Товары', route: '/products'}
];

const App: React.FC = () => (
  <>
    <Header navigation={navigation} />
    <Paper>
      <p>
        Привет, мир!
        <Button>Нажми меня</Button>
        <Button variant="outlined">Отменить</Button>
      </p>
    </Paper>
  </>
);

ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  document.getElementById('root')
);
