UNPKG

@commercelayer/react-components

Version:
7 lines (6 loc) 280 B
import type { Component, ForwardedRef, JSX } from 'react'; export interface ParentProps { parentRef?: ForwardedRef<any>; children?: typeof Component | ((P: any) => JSX.Element | null); } export default function Parent({ children, ...p }: ParentProps): JSX.Element | null;