@ramses-superapp/ramses-ui
Version:
UI kit for Ramses Built Apps
9 lines • 490 B
TypeScript
import type { Theme } from '../styles/types';
/**
* useStyles - User-friendly hook for theme-aware, optionally dynamic styles.
* @param styleFactory - (theme, props) => style object
* @param props - Optional dependency object (state/props)
* @returns Memoized StyleSheet object
*/
export declare function useStyles<Props extends object = {}>(styleFactory: (theme: Theme, props: Props) => Record<string, any>, props?: Props): Record<string, any>;
//# sourceMappingURL=useStyles.d.ts.map