export const filesToListItemsData = (files) => {
    const itemsData = [];
    files.forEach(file => {
        const itemId = typeof file === "string" ? file : file.name;
        const itemValue = typeof file === "string" ? file : file.name;
        const itemIcon = undefined;
        const itemChecked = false;
        itemsData.push({
            itemId: itemId,
            itemValue: itemValue,
            itemIcon: itemIcon,
            itemChecked: itemChecked
        });
    });
    return itemsData;
};
//# sourceMappingURL=helpers.js.map
