We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633c7e6 commit d016088Copy full SHA for d016088
packages/react-core/src/components/Tabs/__tests__/Tabs.test.tsx
@@ -562,3 +562,15 @@ test('should render an enabled add button', () => {
562
const addButton = screen.getByLabelText('add-label');
563
expect(addButton).not.toBeDisabled();
564
});
565
+
566
+test(`should render with custom inline style and accent position inline style`, () => {
567
+ render(
568
+ <Tabs role="region" style="background-color: #12345;">
569
+ <Tab title="Test title" eventKey={0}>
570
+ Tab Content
571
+ </Tab>
572
+ </Tabs>
573
+ );
574
575
+ expect(screen.getByRole('region')).toHaveStyle(`background-color: #12345;--pf-v6-c-tabs--link-accent--start: 0px;`);
576
+});
0 commit comments