@studiometa/js-toolkit
Version:
A set of useful little bits of JavaScript to boost your project! 🚀
15 lines (14 loc) • 571 B
TypeScript
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.
*/
export declare function withBreakpointObserver<S extends Base>(BaseClass: typeof Base): BaseDecorator<WithBreakpointObserverInterface, S, WithBreakpointObserverProps>;