UNPKG

ayongui

Version:
10 lines (8 loc) 303 B
import { default as React } from 'react'; interface ConditionalRenderPorps { mode?: 'show' | 'if'; show: boolean; children: React.ReactNode; } declare function ConditionalRender({ mode, show, children, renderIf, renderElse }: ConditionalRenderPorps): any; export default ConditionalRender;