Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #280 from deriv-com/hasan/tab-trigger-type-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-deriv authored Dec 20, 2023
2 parents f46829d + 5cfc50f commit 84f8bc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libs/components/src/lib/tab/base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
} from 'react';
import { Tab, qtJoin } from '@deriv/quill-design';

type TabTrigger = Omit<ComponentProps<typeof Tab.Trigger>, 'children'> & {
type TabTrigger = Omit<
ComponentProps<typeof Tab.Trigger>,
'children' | 'content'
> & {
content: ReactNode;
};

Expand Down

0 comments on commit 84f8bc8

Please sign in to comment.