@mantine/styles
Advanced tools
Comparing version 5.10.2 to 5.10.3
@@ -10,6 +10,4 @@ import React from 'react'; | ||
export declare function useMantineEmotionCache(): EmotionCache; | ||
export declare function useComponentDefaultProps<T extends Record<string, any>, U extends Partial<T> = {}>(component: string, defaultProps: U, props: T): [keyof U] extends [keyof T] ? T : { | ||
[Key in Exclude<keyof T, keyof U>]: T[Key]; | ||
} & { | ||
[Key in Extract<keyof T, keyof U>]-?: U[Key] & T[Key]; | ||
export declare function useComponentDefaultProps<T extends Record<string, any>, U extends Partial<T> = {}>(component: string, defaultProps: U, props: T): T & { | ||
[Key in Extract<keyof T, keyof U>]-?: U[Key] | NonNullable<T[Key]>; | ||
}; | ||
@@ -16,0 +14,0 @@ export interface MantineProviderProps { |
{ | ||
"name": "@mantine/styles", | ||
"description": "Mantine css-in-js styles engine, based on emotion", | ||
"version": "5.10.2", | ||
"version": "5.10.3", | ||
"main": "cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336641
3260