UNPKG

@studiometa/js-toolkit

Version:

A set of useful little bits of JavaScript to boost your project! 🚀

16 lines (15 loc) • 656 B
import type { BaseDecorator, BaseInterface } from '../Base/types.js'; import type { Base, BaseProps } from '../Base/index.js'; export interface WithBreakpointObserverProps extends BaseProps { $options: { activeBreakpoints?: string; inactiveBreakpoints?: string; }; } export interface WithBreakpointObserverInterface extends BaseInterface { } /** * BreakpointObserver class. * @link https://js-toolkit.studiometa.dev/api/decorators/withBreakpointObserver.html */ export declare function withBreakpointObserver<S extends Base>(BaseClass: typeof Base): BaseDecorator<WithBreakpointObserverInterface, S, WithBreakpointObserverProps>;