import type { Field } from 'payload'


type IconsType = () => Field

export const iconsOld: IconsType = () => {
    const Icons: Field = {
        name: 'icon',
        label: 'Icon',
        type: 'upload',
        relationTo: 'media',
    }
    return Icons
}
export const icons: IconsType = () => {
    const Icons: Field = {
        name: 'Icon',
        type: 'select',
        options: [
            {
                label: 'BLANK',
                value: '',
            },
            {
                label: 'Statistics',
                value: 'Statistics.svg',
            },
            {
                label: 'Share',
                value: 'Share.svg',
            },
            {
                label: 'Users',
                value: 'Users.svg',
            },
            {
                label: 'Store',
                value: 'Store.svg',
            },
            {
                label: 'QR',
                value: 'QR.svg',
            },
            {
                label: 'Certificate',
                value: 'Certificate.svg',
            },
            {
                label: 'Cliens',
                value: 'Cliens.svg',
            },
            {
                label: 'Award',
                value: 'Award.svg',
            },
            {
                label: 'Chat',
                value: 'Chat.svg',
            },
            {
                label: 'Analytics',
                value: 'Analytics.svg',
            },
            {
                label: 'Mail',
                value: 'Mail.svg',
            },
            {
                label: 'Shopping',
                value: 'Shopping.svg',
            },
            {
                label: 'Losing',
                value: 'Losing.svg',
            },
            {
                label: 'Drop',
                value: 'Drop.svg',
            },
            {
                label: 'Lack',
                value: 'Lack.svg',
            },
            {
                label: 'Arow',
                value: 'Arow.svg',
            },
             {
                label: 'Product',
                value: 'Product.svg',
            },
             {
                label: 'Questions',
                value: 'Questions.svg',
            },
             {
                label: 'Scales',
                value: 'Scales.svg',
            },
             {
                label: 'Service',
                value: 'Service.svg',
            },
            {
                label: 'Artur',
                value: 'Artur.svg',
            }, 
             {
                label: 'Hands',
                value: 'Hands.svg',
            }, 
            {
                label: 'Light', // The label can be anything
                value: 'Light.svg',   // The value must be 'light'
            },
        ],
        required: false,
    }
    return Icons
}