UNPKG

@protorians/widgets

Version:

Create your web user interfaces with widgets

12 lines (11 loc) 540 B
import type { ObjectSize } from "../enums.js"; import type { IChildrenSupported, IWidgetDeclaration } from "./widget.js"; import type { IChildren } from "./children.js"; import type { ICommonAttributes } from "./attributes.js"; import type { IStyleSheetDeclarations } from "./style.js"; export interface ContainerProps { size?: number | string | ObjectSize; style?: IStyleSheetDeclarations; contentAttributes?: Omit<IWidgetDeclaration<HTMLElement, ICommonAttributes>, 'children'>; children: IChildren<IChildrenSupported>; }