From f5ef787ee0ed2953ab85c2f2999031986f059ef2 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Mar 2021 00:13:53 +0300 Subject: feat: add Header and Button --- src/index.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/index.tsx') diff --git a/src/index.tsx b/src/index.tsx index 3b08ba8..779f0d0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,12 +2,25 @@ 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 = () => ( - - Hello, world! - + <> +
+ +

+ Привет, мир! + + +

+
+ ); ReactDOM.render( -- cgit v1.2.3