@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
16 lines (15 loc) • 496 B
TypeScript
import { ViewProps } from "@vnxjs/components/types/View";
import { Key, ReactNode } from "react";
export interface CascaderOptionObject extends ViewProps {
key?: Key;
tabIndex: number;
className?: string;
value?: any;
disabled?: boolean;
children?: ReactNode;
}
export interface CascaderTabObject {
className?: string;
options?: CascaderOptionObject[];
}
export declare function isActiveOption(option: CascaderOptionObject, values: any[]): boolean;