UNPKG
birch-context-menu
Version:
latest (1.2.3)
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.1
Custom context menu for react
github.com/tinialabs/react-birch
tinialabs/react-birch
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
>>;