import { useContext } from 'react' import { createStyledContext } from '../helpers/createStyledContext' import type { ComponentContextI } from '../types' export const ComponentContext = createStyledContext({ disableSSR: undefined, inText: false, language: null, animationDriver: null, setParentFocusState: null, insets: null, }) export const useConfiguration = () => { return useContext(ComponentContext) }