UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
cascader
/
hooks
/
useBase.d.ts
8 lines
(7 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
type
RenderEmptyHandler
}
from
'../../config-provider'
;
export
default
function
useBase
(
customizePrefixCls
?:
string
,
direction
?:
'ltr'
|
'rtl'
): [
prefixCls
:
string
,
cascaderPrefixCls
:
string
,
direction
?:
'ltr'
|
'rtl'
,
renderEmpty
?:
RenderEmptyHandler
];