Amazon Vinyl
    Preparing search index...

    Type Alias StyleProp

    StyleProp: {
        [K in keyof Partial<CSSStyleDeclaration>]: MaybeObservableValue<
            Maybe<CSSStyleDeclaration[K]>,
        >
    } & {
        readonly [customProperty: `--${string}`]: MaybeObservableValue<
            Maybe<string>,
        >;
    }

    The shape accepted by the style jsx prop. Allows the typed CSSStyleDeclaration fields plus any CSS custom property key (must start with --). Null / undefined clear the CSS property (via setProperty(name, null)), so values are Maybe-wrapped here even though bindable IDL props reject null.