diff --git a/src/react-components/tab-navigation/tab-navigation.jsx b/src/react-components/tab-navigation/tab-navigation.jsx index 8fc5c4e..b7760d3 100644 --- a/src/react-components/tab-navigation/tab-navigation.jsx +++ b/src/react-components/tab-navigation/tab-navigation.jsx @@ -15,34 +15,42 @@ import React from 'react'; */ const TabNavigation = ({ config }) => { - const getClassName = (isActive, index) => { - let className = ''; - if (config.isTabValidArray && !config.isTabValidArray[index]) { - className += 'tab-invalid'; - } + const getClassName = (isActive, index) => { + let className = ''; + if (config.isTabValidArray && !config.isTabValidArray[index]) { + className += 'tab-invalid'; + } - return isActive ? `${className} active` : className; - }; + return isActive ? `${className} active` : className; + }; - return ( - - ); + return ( +