UNPKG
fannypack-v5
Version:
latest (5.0.0-rc.7)
5.0.0-rc.7
5.0.0-rc.0
An accessible, composable, and friendly React UI Kit
github.com/fannypackui
fannypackui/fannypack
fannypack-v5
/
src
/
Columns
/
ColumnsContext.ts
13 lines
(10 loc)
•
292 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
*
as
React
from
'react'
;
import
{
Breakpoint
}
from
'../types'
;
export
type
ColumnsContextProps
= {
isGapless
?:
boolean
;
minBreakpoint
?:
Breakpoint
; };
export
const
ColumnsContext
=
React
.
createContext
({
isGapless
:
false
,
minBreakpoint
:
undefined
, }
as
ColumnsContextProps
);