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