import { DataAttributes } from './utils.type'; import { default as React, ReactNode } from 'react'; export type Option = { text: string; value: string; }; export type DropdownItemOption = { value: string | number; label: string; items?: Array; disabled?: boolean; contentLeft?: ReactNode; contentRight?: ReactNode; dividerBefore?: boolean; dividerAfter?: boolean; isActive?: boolean; color?: string; isDisabled?: boolean; }; export type DomMetadata = { className?: string; dataAttributes?: DataAttributes; onClick?: (e?: React.MouseEvent, detail?: Record) => void; };