UNPKG
react-rif
Version:
latest (1.0.1)
1.0.1
1.0.0
Simple component for conditional rendering on react
github.com/jannhama/react-rif
jannhama/react-rif
react-rif
/
dist
/
index.d.ts
8 lines
(7 loc)
•
181 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
*
as
React
from
'react'
;
interface
IRIfProps
{
if
:
boolean
;
children
?:
React
.
ReactNode
; }
export
declare
function
R
(
props
:
IRIfProps
):
JSX
.
Element
;
export
{};