@gluestack-ui/utils
Version:
Utility functions and hooks for gluestack-ui
8 lines • 415 B
TypeScript
import React from 'react';
type WithStyleContextProps = {
context?: any;
};
export declare const withStyleContext: <T extends React.ComponentType<any>>(Component: T, scope?: string) => React.ForwardRefExoticComponent<React.ComponentPropsWithoutRef<T> & WithStyleContextProps & React.RefAttributes<T>>;
export declare const useStyleContext: (scope?: string) => any;
export {};
//# sourceMappingURL=index.d.ts.map