UNPKG

create-nova-expo-template

Version:

A template for creating a new React Native app using Expo and TypeScript, with a focus on performance and best practices.

10 lines (7 loc) 227 B
/* eslint-disable */ const handleOptions = (list: Record<string, any>[] = [], key = "name") => { return list.map((item) => { return { label: item[key], value: item?.id }; }); }; export default handleOptions;