UNPKG
@ntragas/pouncejstest
Version:
latest (1.0.0)
1.0.0
A collection of UI components from Panther labs
github.com/panther-labs/pounce
panther-labs/pounce
@ntragas/pouncejstest
/
dist
/
cjs
/
components
/
Popover
/
usePopoverContentAlignment.d.ts
6 lines
(5 loc)
•
285 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
PopoverContentProps
}
from
'./PopoverContent'
;
import
{
Position
}
from
'@reach/popover'
;
declare
type
AlignmentValue
=
Required
<
PopoverContentProps
>[
'alignment'
];
declare
const
usePopoverAlignment
:
(
alignment
:
AlignmentValue
) =>
Position
;
export
default
usePopoverAlignment;