Skip to content

Commit

Permalink
Merge pull request #291 from WestpacGEL/287-tabs-transition
Browse files Browse the repository at this point in the history
fix #287 adding fadeIn animation
  • Loading branch information
samithaf authored Nov 15, 2023
2 parents a90f102 + 8209ed5 commit afba4c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function TabPanel({ className, state, look, ...props }: TabPanelProps) {
const { tabPanelProps } = useTabPanel({ ...props }, state, ref);
return (
<div {...mergeProps(tabPanelProps, focusProps)} ref={ref} className={styles({ className, look, isFocused })}>
{state.selectedItem?.props.children}
<div className="animate-fadeIn">{state.selectedItem?.props.children}</div>
</div>
);
}
Expand Down

0 comments on commit afba4c7

Please sign in to comment.