@gluestack-ui/utils
Version:
Utility functions used internally in gluestack-ui
9 lines (8 loc) • 325 B
TypeScript
import React from 'react';
declare function createContext<ContextValueType extends object>(rootComponentName: string): readonly [{
(props: ContextValueType & {
children: React.ReactNode;
}): React.JSX.Element;
displayName: string;
}, (consumerName: string) => ContextValueType];
export { createContext };