UNPKG
ahooks-v2
Version:
latest (2.10.15)
2.10.15
2.10.13
react hooks library
github.com/alibaba/hooks
alibaba/hooks
ahooks-v2
/
lib
/
useResponsive
/
index.d.ts
10 lines
(9 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
interface
ResponsiveConfig
{ [
key
:
string
]:
number
; }
interface
ResponsiveInfo
{ [
key
:
string
]:
boolean
; }
export
declare
function
configResponsive
(
config
:
ResponsiveConfig
):
void
;
export
declare
function
useResponsive
(
):
ResponsiveInfo
;
export
{};