import { DbKey } from '@/modules/db' import { Stack } from '@mui/material' import { FC } from 'react' import { ListItemProfile } from './ListItemProfile' type ListProfilesProps = { keys: DbKey[] onClickItem: (key: DbKey) => void } export const ListProfiles: FC = ({ keys = [], onClickItem }) => { return ( {keys.map((key) => { return onClickItem(key)} /> })} ) }