import { faker } from '@ui/dev/faker';
export const makeData = (props) => {
    const { length = 16 } = props || {};
    const generateNameInitials = () => {
        const firstNameLetter = faker.person.firstName()[0];
        const secondNameLetter = faker.person.lastName()[0];
        return `${firstNameLetter}${secondNameLetter}`;
    };
    return Array.from({ length }).map(() => ({
        id: faker.string.uuid(),
        name: generateNameInitials(),
    }));
};
