StypProperties<T>:{ readonly [K in keyof T]: T[K] & StypValue }
CSS properties map.
Contains named CSS properties.
Property keys expected to be camelCased. When applied to CSS they hyphenated by hyphenateCSSName function.
Custom properties have keys starting with anything but ASCII letter. The properties with keys starting with $$
and @ are reserved.
Custom and reserved properties can be referenced, but they are not rendered as CSS ones. They could be rendered
in a special way though. For example a reserved $$css property is rendered as raw CSS text.
May be parameterized with properties structure. In that case the properties map contains only properties from
the given structure.
Typeparam
T CSS properties structure. Each property in this structure is expected to be compatible with
StypValue.
CSS properties map.
Contains named CSS properties.
Property keys expected to be camelCased. When applied to CSS they hyphenated by hyphenateCSSName function.
Custom properties have keys starting with anything but ASCII letter. The properties with keys starting with
$$
and@
are reserved.Custom and reserved properties can be referenced, but they are not rendered as CSS ones. They could be rendered in a special way though. For example a reserved
$$css
property is rendered as raw CSS text.May be parameterized with properties structure. In that case the properties map contains only properties from the given structure.
Typeparam
T CSS properties structure. Each property in this structure is expected to be compatible with StypValue.