@aveonline/ui-react
Version:
Home base for Aveonline design system - ecosystem react
16 lines (15 loc) • 447 B
TypeScript
/// <reference types="react" />
import { IChildren, IClassName } from '../../../../types';
declare type IElement = string | JSX.Element;
declare type IContent = {
label: IElement;
value: IElement;
};
interface IPropsDropdown extends IChildren, IClassName {
title?: IElement;
subtitle?: IElement[];
content?: IContent[];
defaultOpen?: boolean;
isDisabled?: boolean;
}
export type { IPropsDropdown, IElement, IContent };