Transparent background in Joy UI stack-ui templates

This commit is contained in:
Stan Wohlwend 2024-04-20 15:52:46 +02:00
parent 192cd256d8
commit 755b2322df

View File

@ -9,7 +9,7 @@ export const Tabs = React.forwardRef<
React.ComponentProps<typeof DefaultTabs>
>((props, ref) => {
const { color, onChange, ref: _, ...validProps } = props; // TODO: add onChange
return <JoyTabs ref={ref} {...validProps}/>;
return <JoyTabs ref={ref} sx={{ bgcolor: "transparent" }} {...validProps}/>;
});
export const TabsList = React.forwardRef<