import { useColorMode } from './../core/color-mode' ; import { useTheme } from './useTheme' ; returns export function useNativeBase ( ) { const colorModeResult = useColorMode ( ) ; const theme = useTheme ( ) ; return { ... colorModeResult , theme } ; }