diff --git a/src/components/components/Tabs/Tabs.component.jsx b/src/components/components/Tabs/Tabs.component.jsx index eaa5adc4..7379a3c9 100644 --- a/src/components/components/Tabs/Tabs.component.jsx +++ b/src/components/components/Tabs/Tabs.component.jsx @@ -16,6 +16,7 @@ import { Hint } from './components'; * label: string; * value: string; * hint?: string; + * disabled?: boolean * }; * selectedTabClassName: string; * }} props @@ -23,15 +24,16 @@ import { Hint } from './components'; const Tabs = ({ tabs, selectedTabClassName, className }) => (
{!!tabs?.length && - tabs.map(({ label, value, onClick, isSelected, hint }) => ( + tabs.map(({ label, value, onClick, isSelected, hint, disabled }) => (