Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-amd/controlled.d.ts

8 lines
284 B
TypeScript

/**
* Determines whether a component is controlled.
* @param props - Component props
* @param valueProp - Prop containing the controlled value
* @returns true if controlled, false if uncontrolled
*/
export declare function isControlled<P>(props: P, valueProp: keyof P): boolean;