PromoCursed/node_modules/antd/lib/select/useShowArrow.d.ts
2024-08-20 23:25:37 +04:00

9 lines
318 B
TypeScript

import type { ReactNode } from 'react';
/**
* Since Select, TreeSelect, Cascader is same Select like component.
* We just use same hook to handle this logic.
*
* If `suffixIcon` is not equal to `null`, always show it.
*/
export default function useShowArrow(suffixIcon?: ReactNode, showArrow?: boolean): boolean;