@microsoft/fast-element > cssPartial
cssPartial() function
Transforms a template literal string into partial CSS.
Signature:export declare function cssPartial(strings: TemplateStringsArray, ...values: (ComposableStyles | CSSDirective)[]): CSSDirective;
Parameters
Parameter | Type | Description |
---|---|---|
strings | TemplateStringsArray | The string fragments that are interpolated with the values. |
values | (ComposableStyles | CSSDirective)[] | The values that are interpolated with the string fragments. |