Interface DropdownFactoryProps

interface DropdownFactoryProps {
    classNames?: string[];
    description?: string;
    descriptionLink?: {
        destination: string;
        id: string;
        onClick?: (() => void);
        text: string;
    };
    messageId?: string;
    onChange?: ((selectedOptions) => void);
    options: DropdownListOption[];
    tabId?: string;
    type: "checkbox" | "select" | "radio";
}

Hierarchy (view full)

Properties

classNames?: string[]
description?: string
descriptionLink?: {
    destination: string;
    id: string;
    onClick?: (() => void);
    text: string;
}

Type declaration

  • destination: string
  • id: string
  • Optional onClick?: (() => void)
      • (): void
      • Returns void

  • text: string
messageId?: string
onChange?: ((selectedOptions) => void)

Type declaration

tabId?: string
type: "checkbox" | "select" | "radio"