Skip to content

Commit

Permalink
Move useFocusWithArrows to common folder
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnr committed Feb 14, 2024
1 parent 149b955 commit 5867785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/Tabs/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { TabsButton } from './TabsButton'
import TabsContext from './TabsContext'
import { TabsList } from './TabsList'
import { TabsPanel } from './TabsPanel'
import useFocusWithArrows from './useFocusWithArrows'
import useFocusWithArrows from '../common/useFocusWithArrows'

export type TabsProps = {} & PropsWithChildren<HTMLAttributes<HTMLDivElement>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import type { KeyboardEvent, RefObject } from 'react'

export const KeyboardKeys = {
const KeyboardKeys = {
ArrowUp: 'ArrowUp',
ArrowDown: 'ArrowDown',
ArrowRight: 'ArrowRight',
Expand Down

0 comments on commit 5867785

Please sign in to comment.