import { ViewStyle } from 'react-native' ; import { ResponsiveStyleSheet , ScaleByFactor } from '../../utils/responsive' ; export interface CategoryListStyles { activity_indicator : ViewStyle ; list_container : ViewStyle ; list : ViewStyle ; } export class CategoryListResponsiveStyles extends ResponsiveStyleSheet < CategoryListStyles > { public baseStyles ( scaleByFactor ) { return { activity_indicator : { marginBottom : scaleByFactor ( 16 ) , } , list_container : { flex : 1 , } , list : { paddingTop : scaleByFactor ( 16 ) , paddingBottom : scaleByFactor ( 74 ) , } , } ; } public lightStyles ( ) { return { } ; } public darkStyles ( ) { return { } ; } } export const categoryListResponsiveStyles = new CategoryListResponsiveStyles ( ) ;