import { FC, ReactNode } from 'react'; import { Row } from 'reactstrap'; import NoMenuLayout from '../common/NoMenuLayout'; const SettingsSections: FC<{ items: ReactNode[][] }> = ({ items }) => ( <> {items.map((child, index) => ( {child.map((subChild, subIndex) => (
{subChild}
))}
))} ); const Settings = (RealTimeUpdates: FC, ShortUrlCreation: FC, UserInterface: FC, Visits: FC) => () => ( , ], // eslint-disable-line react/jsx-key [ , ], // eslint-disable-line react/jsx-key ]} /> ); export default Settings;