/*************************************************************************************** * Copyright (c) 2023 BlackBerry Limited and contributors. * * Licensed under the MIT license. See LICENSE file in the project root for details. ***************************************************************************************/ import React from 'react'; import { AbstractOutputProps } from './abstract-output-component'; export declare enum OptionType { DEFAULT = 0, CHECKBOX = 1 } export interface OptionState { type: OptionType; label: string; condition?: () => boolean; onClick?: (arg?: unknown) => void; arg?: () => unknown; subSection?: DropDownSubSection; } export interface DropDownSubSection { options: OptionState[]; condition: () => boolean; height?: number; } type OptionProps = AbstractOutputProps & OptionState; declare abstract class AbstractDropDownOption
extends React.Component
{
constructor(props: P);
}
export declare class DropDownOption extends AbstractDropDownOption