From c500ddbe0023ca01d4defc7c750e79d6027889cf Mon Sep 17 00:00:00 2001 From: Sven Czarnian Date: Sat, 5 Nov 2022 02:29:26 +0100 Subject: [PATCH] fix style issue --- src/components/airport.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/airport.tsx diff --git a/src/components/airport.tsx b/src/components/airport.tsx new file mode 100644 index 0000000..70c7a92 --- /dev/null +++ b/src/components/airport.tsx @@ -0,0 +1,19 @@ +import React, { useState } from 'react'; +import { TabView, TabPanel } from 'primereact/tabview'; + +export const Airport: React.FC = () => { + const [activeIndex, setActiveIndex] = useState(0); + + return ( + <> + setActiveIndex(event.index)} className='p-3'> + + CREATE AIRPORT + + + MANAGE AIRPORT + + + + ); +}