mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
9 lines
254 B
TypeScript
9 lines
254 B
TypeScript
import { createContext } from 'react'
|
|
|
|
// Make sure the shape of the default value passed to
|
|
// createContext matches the shape that the consumers expect!
|
|
export const SelectContext = createContext({
|
|
onChange: (e: any) => {},
|
|
selected: undefined,
|
|
})
|