UNPKG

sb-element

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]

18 lines (17 loc) 575 B
import { AbstractConstructor, Constructor } from "./constructor"; import { HasElementRef } from "./has-element-ref"; export declare enum Size { EXTRA_SMALL = "xs", SMALL = "s", MEDIUM = "m", LARGE = "l", EXTRA_LARGE = "xl", EXTRA_EXTRA_LARGE = "xxl" } export interface CanSize { size: Size | undefined; defaultSize?: Size; } declare type CanSizeCtor = Constructor<CanSize> & AbstractConstructor<CanSize>; export declare function mixinSize<T extends AbstractConstructor<HasElementRef>>(core: T, defaultSize?: Size): CanSizeCtor & T; export {};