Skip to main content

Interface: StyleRecord

A record of styles which can be bound an HTML element's style attribute through JSX. Each of the record's keys defines a style name, and the key's value is a string or undefined or a similarly valued Subscribable that determines the value of the style. If a style's value is undefined, then that style will not appear in the element's style attribute (equivalent to setting the style value to the empty string).

Indexable

[styleName: string]: string | Subscribable<string | undefined> | undefined