Constructor
# <Protector component />
A wrapper component that handles the verification of users using built in authentication methods.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
component |
elementType | Yes | The child component coming from the React Router switch statement that we are authenticating and passing down the tree. |
The child element that is passed in via props, wrapped in the HOC.
JSX.Element