UNPKG

@material-ui/lab

Version:
5 lines (4 loc) 268 B
import { AllAvailableViews } from '../typings/Views'; declare type Orientation = 'portrait' | 'landscape'; export declare function useIsLandscape(views: readonly AllAvailableViews[], customOrientation: Orientation | undefined): boolean; export default useIsLandscape;