Skip to content

Commit

Permalink
Fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Jan 23, 2025
1 parent 45dfb41 commit 2ca8ea3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/client/src/components/styledTabComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export const BdmsTabs = styled(Tabs)({
},
});

export const BdmsTab = styled(props => <Tab disableRipple {...props} />)(() => ({
interface BdmsTabProps {
label: string;
key: string;
"data-cy": string;
}
export const BdmsTab = styled((props: BdmsTabProps) => <Tab disableRipple {...props} />)(() => ({
fontSize: "16px",
fontWeight: "400",
paddingTop: `${theme.spacing(2)}`,
Expand Down

0 comments on commit 2ca8ea3

Please sign in to comment.