UNPKG
@clive-cudi/geist-ui
Version:
latest (1.0.0)
1.0.0
Modern and minimalist React UI library.
geist-ui.dev
clive-cudi/geist-ui
@clive-cudi/geist-ui
/
dist
/
popover
/
popover-context.d.ts
8 lines
(7 loc)
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
export
declare
type
PopoverConfig
= {
disableItemsAutoClose
:
boolean
;
onItemClick
:
(
e
:
React
.
MouseEvent
<
HTMLDivElement
>
) =>
void
; };
export
declare
const
PopoverContext
:
React
.
Context
<
PopoverConfig
>;
export
declare
const
usePopoverContext
:
() =>
PopoverConfig
;