I can use theme variable in makeStyles function and also I want to use theme variable in createStyles function
export type NamedStyles<T> = { [P in keyof T]: ViewStyle | TextStyle | ImageStyle }export const makeStyles = <T extends NamedStyles<T> | NamedStyles<any>>( styles: (theme: Theme) => T) => <T extends NamedStyles<T> | NamedStyles<any>>() => { const currentTheme = useTheme(); return styles(currentTheme);};const baseStyles = makeStyles((theme:Theme) => ({ // I can use here container:{backgroundColor:theme.colors.primary}}))export const createStyles = <T extends NamedStyles<T> | NamedStyles<any>>(overrides : T | NamedStyles<T>) => { return create({...baseStyles, ...overrides}) }//in component.tsx const styles = createStyles({ // I want to use here as well })