worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
20
node_modules/@mui/utils/useControlled/useControlled.d.ts
generated
vendored
Normal file
20
node_modules/@mui/utils/useControlled/useControlled.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import * as React from 'react';
|
||||
export interface UseControlledProps<T = unknown> {
|
||||
/**
|
||||
* Holds the component value when it's controlled.
|
||||
*/
|
||||
controlled: T | undefined;
|
||||
/**
|
||||
* The default value when uncontrolled.
|
||||
*/
|
||||
default: T | undefined;
|
||||
/**
|
||||
* The component name displayed in warnings.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* The name of the state variable displayed in warnings.
|
||||
*/
|
||||
state?: string;
|
||||
}
|
||||
export default function useControlled<T = unknown>(props: UseControlledProps<T>): [T, React.Dispatch<React.SetStateAction<T | undefined>>];
|
||||
Loading…
Add table
Add a link
Reference in a new issue