CatcherPropsinterface

{
	as: (props: ErrorComponentProps) => ReactElement;
}
PropertyType
.as(props: ErrorComponentProps) => ReactElement
Component to render an error (defaults to <ErrorNotice />) required

Props for <Catcher> — the children to guard plus the as component used to render any caught error.