UNPKG
react-birch-context-menu
Version:
latest (2.0.7)
2.0.7
2.0.6
2.0.4
2.0.3
2.0.1
Custom context menu for react
github.com/tinialabs/react-birch
tinialabs/react-birch
react-birch-context-menu
/
dist
/
components
/
Portal.d.ts
7 lines
(6 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
*
as
React
from
'react'
;
/** Render React Portal for given id */
export
declare
const
Portal
:
React
.
ForwardRefExoticComponent
<
Pick
<{ [
key
:
string
]:
any
;
id
:
string
; },
string
|
number
> &
React
.
RefAttributes
<
HTMLDivElement
>>;