import { Options } from '@ulangi/react-native-navigation' ; import { ScreenName } from '@ulangi/ulangi-common/enums' ; import { NavigatorDelegate } from '../navigator/NavigatorDelegate' ; export class LevelBreakdownDelegate { private navigatorDelegate : NavigatorDelegate ; private styles : { light : Options ; dark : Options ; } ; public constructor ( navigatorDelegate , styles ) { this . navigatorDelegate = navigatorDelegate ; this . styles = styles ; } public show ( levelCounts ) { this . navigatorDelegate . showLightBox ( ScreenName . LEVEL_BREAKDOWN_SCREEN , { levelCounts , } , this . styles ) ; } }