add component color picker
This commit is contained in:
@@ -2,6 +2,7 @@ import Tabs from '@/components/Tabs'
|
||||
import { Card, KeySquare, Setting4, TruckFast } from 'iconsax-react'
|
||||
import { useState, type FC } from 'react'
|
||||
import { SettingTabEnum } from './enum/Enum'
|
||||
import GeneralSettings from './GeneralSettings'
|
||||
|
||||
const Setting: FC = () => {
|
||||
|
||||
@@ -39,6 +40,12 @@ const Setting: FC = () => {
|
||||
active={activeTab}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className='mt-8'>
|
||||
{
|
||||
activeTab === SettingTabEnum.GENERAL && <GeneralSettings />
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user