Skip to content

Commit

Permalink
Added missing props to AnimatedRoute (#120)
Browse files Browse the repository at this point in the history
Added `strict`, `sensitive` and `children` props to `AnimatedRoute`
  • Loading branch information
TheDSCPL committed Jan 27, 2021
1 parent b85644e commit 1553d11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.js
Expand Up @@ -127,6 +127,9 @@ function AnimatedRoute({
component,
path,
exact,
strict,
sensitive,
children,
...routeTransitionProps
}) {
const location = useLocation();
Expand All @@ -137,9 +140,12 @@ function AnimatedRoute({
key={getKey(location, path, exact)}
path={path}
exact={exact}
strict={strict}
sensitive={sensitive}
location={location}
component={component}
render={render}
children={children}
/>
</RouteTransition>
);
Expand Down

0 comments on commit 1553d11

Please sign in to comment.