UNPKG

nice-ui

Version:

React design system, components, and utilities

15 lines (14 loc) 544 B
import { BehaviorSubject } from 'rxjs'; import { NiceUiContentService } from './NiceUiContentService'; import { NiceUiNavService } from './NiceUiNavService'; export interface NiceUiServicesOpts { nav?: NiceUiNavService; content?: NiceUiContentService; } export declare class NiceUiServices { readonly theme$: BehaviorSubject<string>; readonly nav: NiceUiNavService; readonly content: NiceUiContentService; constructor(opts?: NiceUiServicesOpts); readonly setTheme: (theme: "light" | "dark" | "auto" | "") => void; }