@gluestack-ui/utils
Version:
Utility functions and hooks for gluestack-ui
10 lines • 466 B
TypeScript
import React from 'react';
type WithStyleContextProps = {
context?: any;
className?: string;
states?: any;
};
export declare const withStyleContextAndStates: <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