Interface MainAspectComponentOptions

interface MainAspectComponentOptions {
    backgroundColor?: string;
    children: ReactNode;
    showControls?: boolean;
    containerWidthFraction?: number;
    containerHeightFraction?: number;
    defaultFraction?: number;
    updateIsWideScreen: ((isWide: boolean) => void);
    updateIsMediumScreen: ((isMedium: boolean) => void);
    updateIsSmallScreen: ((isSmall: boolean) => void);
}

Properties

backgroundColor?: string
children: ReactNode
showControls?: boolean
containerWidthFraction?: number
containerHeightFraction?: number
defaultFraction?: number
updateIsWideScreen: ((isWide: boolean) => void)
updateIsMediumScreen: ((isMedium: boolean) => void)
updateIsSmallScreen: ((isSmall: boolean) => void)