'use client'

import type { ScrollbarProps } from '@zag-js/scroll-area'
import { createContext } from '../../utils/create-context.ts'

export const [ScrollAreaScrollbarProvider, useScrollAreaScrollbarContext] = createContext<ScrollbarProps>({
  name: 'ScrollAreaScrollbarContext',
  hookName: 'useScrollAreaScrollbarContext',
  providerName: '<ScrollAreaScrollbarProvider />',
})
