import { FC, ReactNode } from 'react'; import { Navigate, Routes, Route } from 'react-router-dom'; import { NoMenuLayout } from '../common/NoMenuLayout'; import { NavPillItem, NavPills } from '../utils/NavPills'; const SettingsSections: FC<{ items: ReactNode[] }> = ({ items }) => ( <> {items.map((child, index) =>
{child}
)} ); const Settings = ( RealTimeUpdates: FC, ShortUrlCreation: FC, ShortUrlsList: FC, UserInterface: FC, Visits: FC, Tags: FC, ) => () => ( General Short URLs Other items , ]} />} /> , ]} />} /> , ]} />} /> } /> ); export default Settings;