UNPKG

@jupyter/web-components

Version:

A component library for building extensions in Jupyter frontends.

13 lines (12 loc) 487 B
import { ElementStyles } from '@microsoft/fast-element'; import { PropertyStyleSheetBehavior } from '@microsoft/fast-foundation'; /** * Behavior that will conditionally apply a stylesheet based on the elements * appearance property * * @param value - The value of the appearance property * @param styles - The styles to be applied when condition matches * * @public */ export declare function appearanceBehavior(value: string, styles: ElementStyles): PropertyStyleSheetBehavior;