// This file is part of Coog. The COPYRIGHT file at the top level of // this repository contains the full copyright notices and license terms. export type SelectOption = { label: string | Array; value: string | Record; }; export type SelectOptions = SelectOption[]; export type FormikField = { name: string; value: string | string[]; }; export type Field = { label: string; value: string; }; export type FormikOptions = Array; export interface EventEmitter { (id: FormikField['value'], actionMeta?: any): void; } export interface SelectProps { options: FormikOptions; eventEmitter: EventEmitter; field?: FormikField; isMulti?: boolean; disabled?: boolean; placeholder?: string; width?: string; height?: string; minWidthMenu?: string; } export type MyOptionType = { width?: string; height?: string; minWidthMenu?: string; }; export type StylesConfig = { container: Record; control: Record; menu: Record; option: Record; };