Skip to content

Commit

Permalink
fix(tabs): correct examples component names
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfratino committed Jan 19, 2025
1 parent 140263d commit 948c023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { Tabs } from '@base-ui-components/react/tabs';
import styles from './index.module.css';

export default function ExampleScrollArea() {
export default function ExampleTabs() {
return (
<Tabs.Root className={styles.Tabs} defaultValue="overview">
<Tabs.List className={styles.List}>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Tabs } from '@base-ui-components/react/tabs';

export default function ExampleScrollArea() {
export default function ExampleTabs() {
return (
<Tabs.Root className="rounded-md border border-gray-200" defaultValue="overview">
<Tabs.List className="relative z-0 flex gap-1 px-1 shadow-[inset_0_-1px] shadow-gray-200">
Expand Down

0 comments on commit 948c023

Please sign in to comment.