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
/
tabs
/
hooks
/
useLegacyItems.d.ts
5 lines
(4 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
React
from
'react'
;
import
type
{
Tab
}
from
'rc-tabs/lib/interface'
;
import
type
{
TabsProps
}
from
'..'
;
export
default
function
useLegacyItems
(
items
?:
TabsProps
[
'items'
],
children
?:
React
.
ReactNode
):
Tab
[];