Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
32
node_modules/@mui/x-internals/useAssertModelConsistency/useAssertModelConsistency.d.ts
generated
vendored
Normal file
32
node_modules/@mui/x-internals/useAssertModelConsistency/useAssertModelConsistency.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* Make sure a controlled prop is used correctly.
|
||||
* Logs errors if the prop either:
|
||||
*
|
||||
* - switch between controlled and uncontrolled
|
||||
* - modify it's default value
|
||||
* @param parameters
|
||||
*/
|
||||
declare function useAssertModelConsistencyOutsideOfProduction<T>(parameters: {
|
||||
/**
|
||||
* The warning prefix indicating from which package the warning comes from.
|
||||
*/
|
||||
warningPrefix?: string;
|
||||
/**
|
||||
* The name of the component used in the warning message.
|
||||
*/
|
||||
componentName: string;
|
||||
/**
|
||||
* The name of the controlled state.
|
||||
*/
|
||||
propName: string;
|
||||
/**
|
||||
* The value of the controlled prop.
|
||||
*/
|
||||
controlled: T | undefined;
|
||||
/**
|
||||
* The default value of the controlled prop.
|
||||
*/
|
||||
defaultValue: T;
|
||||
}): void;
|
||||
export declare const useAssertModelConsistency: typeof useAssertModelConsistencyOutsideOfProduction;
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue