xylabs/sdk-react

View on GitHub
packages/invertible-theme/src/InvertibleMuiThemeProvider/InvertibleMuiThemeProviderProps.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Theme } from '@mui/material'
import type { ReactNode } from 'react'

// Hopefully MUI will export these types
export type Mode = 'light' | 'dark' | 'system'

export interface InvertibleMuiThemeProviderProps {
  children?: ReactNode
  defaultMode?: Mode
  noResponsiveFontSizes?: boolean
  syncAppSettings?: boolean
  theme?: Theme
}