UNPKG
react-box-overflow
Version:
latest (0.0.1)
0.0.1
Headless UI for automatically collapsing boxes when overflow in React.
react-box-overflow
/
src
/
types.ts
9 lines
(7 loc)
•
186 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
/** *
@author
shunzi <tobyzsj
@gmail
.com> *
@date
2024-03-26 11:22:59 */
export
type
DataType
<
Key
extends
keyof
any
> = { [K
in
Key
]:
any
} & { [
K
: keyof
any
]:
any
}