UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

8 lines (7 loc) • 268 B
/** * Since Select, TreeSelect, Cascader is same Select like component. * We just use same hook to handle this logic. * * If `suffix` is not equal to `null`, always show it. */ export default function useShowArrow(suffix?: unknown, showArrow?: boolean): boolean;