- Layout<P>(InputComponent: ComponentType<P>, defaultProps?: P): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<ComponentType<P>>>
-
Type Parameters
-
P extends InjectedLayoutProps
Parameters
-
InputComponent: ComponentType<P>
-
Optional
defaultProps: P
Returns ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<ComponentType<P>>>