Files
video-gen/video-gen-admin/node_modules/antd/lib/cascader/hooks/useIcons.d.ts
T
2026-05-25 17:08:18 +08:00

13 lines
942 B
TypeScript

import * as React from 'react';
export interface UseIconsOptions {
isRtl: boolean;
expandIcon: React.ReactNode;
loadingIcon: React.ReactNode;
contextExpandIcon: React.ReactNode;
contextLoadingIcon: React.ReactNode;
}
export default function useIcons({ contextExpandIcon, contextLoadingIcon, expandIcon, loadingIcon, isRtl, }: UseIconsOptions): {
expandIcon: string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
loadingIcon: string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element;
};