UNPKG

@furystack/shades

Version:

A lightweight UI framework for FuryStack with JSX support

13 lines 670 B
import type { ChildrenList } from './models/children-list.js'; type StyledProps = { style?: Partial<CSSStyleDeclaration>; }; /** * Wraps a Shade factory with a baked-in `style` overlay. Baked-in `styles` * win over caller-supplied `style` props (the wrapper merges last). Use to * specialise an existing Shade (e.g. theme variants) without registering * a new custom element. */ export declare const styledShade: <TProps extends StyledProps>(element: (props: TProps, children?: ChildrenList) => JSX.Element, styles: Partial<CSSStyleDeclaration>) => ((props: TProps, children?: ChildrenList) => JSX.Element); export {}; //# sourceMappingURL=styled-shade.d.ts.map