@companix/utils-browser 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css.d.ts +1 -1
- package/package.json +1 -1
package/dist/css.d.ts
CHANGED
|
@@ -18,6 +18,6 @@ export declare const box: (h?: number, w?: number) => {
|
|
|
18
18
|
};
|
|
19
19
|
export declare const backgroundImage: (source: string) => React.CSSProperties;
|
|
20
20
|
export declare const setCssVariable: (property: string, value: string) => void;
|
|
21
|
-
export declare const customCSS: (properties: CSSCustomProperties) => CSSCustomProperties<
|
|
21
|
+
export declare const customCSS: <T extends string | number | undefined = string>(properties: CSSCustomProperties<T>) => CSSCustomProperties<T>;
|
|
22
22
|
export declare const attr: (bool?: boolean | null) => "" | undefined;
|
|
23
23
|
export type CSSCustomProperties<T extends string | number | undefined = string> = Record<`--${string}`, T>;
|