Skip to content

Commit

Permalink
use div as default tag for TabGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Apr 18, 2024
1 parent a1dbea3 commit df4d530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@headlessui-react/src/components/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function stateReducer(state: StateDefinition, action: Actions) {

// ---

let DEFAULT_TABS_TAG = Fragment
let DEFAULT_TABS_TAG = 'div' as const
type TabsRenderPropArg = {
selectedIndex: number
}
Expand Down

0 comments on commit df4d530

Please sign in to comment.