UNPKG

@uifabric/utilities

Version:

Fluent UI React utilities for building components.

8 lines (7 loc) 284 B
/** * 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;