Demo-Page Repository

Home > mui-country-code-selector > CCSelectorState > applyStateChanges

CCSelectorState.applyStateChanges property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Applies the state changes to outside variables using the changeHandler function (controlled mode) or the reference to the phone number input DOM element.

Parameters:

state - The partial state object containing the changes.

Signature:

applyStateChanges: (state: Partial<CCSelectorState>) => void;