Skip to content

Commit

Permalink
[Navigation] Update custom transition
Browse files Browse the repository at this point in the history
  • Loading branch information
laurkim committed Mar 18, 2024
1 parent 5de0c56 commit 3a19022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export function SecondaryNavigation({
);

const transition = {
duration: 'var(--p-motion-duration-200)',
timingFunction: 'var(--p-motion-ease-in-out)',
duration: 'var(--p-motion-duration-100)',
timingFunction: 'var(--p-motion-ease-out)',
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ describe('<SecondaryNavigation />', () => {
const component = mountWithApp(<SecondaryNavigation {...mockProps} />);
expect(component).toContainReactComponent(Collapsible, {
transition: {
duration: 'var(--p-motion-duration-200)',
timingFunction: 'var(--p-motion-ease-in-out)',
duration: 'var(--p-motion-duration-100)',
timingFunction: 'var(--p-motion-ease-out)',
},
});
});
Expand Down

0 comments on commit 3a19022

Please sign in to comment.