frontend
Preparing search index...
hooks/useCardDimensions
useCardDimensions
Function useCardDimensions
useCardDimensions
()
:
|
{
cardHeight
:
60
;
cardOverlap
:
20
;
cardWidth
:
40
;
cpuCardWidth
:
34
;
footerCardWidth
:
36
;
isMobile
:
boolean
;
solitaireMinColWidth
:
52
;
}
|
{
cardHeight
:
84
;
cardOverlap
:
22
;
cardWidth
:
60
;
cpuCardWidth
:
50
;
footerCardWidth
:
54
;
isMobile
:
boolean
;
solitaireMinColWidth
:
0
;
}
|
{
cardHeight
:
150
;
cardOverlap
:
34
;
cardWidth
:
100
;
cpuCardWidth
:
82
;
footerCardWidth
:
90
;
isMobile
:
boolean
;
solitaireMinColWidth
:
0
;
}
Hook that returns responsive card dimensions based on viewport breakpoint.
Returns
|
{
cardHeight
:
60
;
cardOverlap
:
20
;
cardWidth
:
40
;
cpuCardWidth
:
34
;
footerCardWidth
:
36
;
isMobile
:
boolean
;
solitaireMinColWidth
:
52
;
}
|
{
cardHeight
:
84
;
cardOverlap
:
22
;
cardWidth
:
60
;
cpuCardWidth
:
50
;
footerCardWidth
:
54
;
isMobile
:
boolean
;
solitaireMinColWidth
:
0
;
}
|
{
cardHeight
:
150
;
cardOverlap
:
34
;
cardWidth
:
100
;
cpuCardWidth
:
82
;
footerCardWidth
:
90
;
isMobile
:
boolean
;
solitaireMinColWidth
:
0
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
frontend
Loading...
Hook that returns responsive card dimensions based on viewport breakpoint.