fix style issue
这个提交包含在:
1 父节点
8c6d6ae5e2
当前提交
c500ddbe00
1 个文件已更改
+19
@@ -0,0 +1,19 @@
|
||||
import React, { useState } from 'react';
|
||||
import { TabView, TabPanel } from 'primereact/tabview';
|
||||
|
||||
export const Airport: React.FC = () => {
|
||||
const [activeIndex, setActiveIndex] = useState<number>(0);
|
||||
|
||||
return (
|
||||
<>
|
||||
<TabView activeIndex={activeIndex} onTabChange={(event) => setActiveIndex(event.index)} className='p-3'>
|
||||
<TabPanel header='Create airport'>
|
||||
CREATE AIRPORT
|
||||
</TabPanel>
|
||||
<TabPanel header='Manage airport'>
|
||||
MANAGE AIRPORT
|
||||
</TabPanel>
|
||||
</TabView>
|
||||
</>
|
||||
);
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户