Demo-Page Repository

Home > mui-country-code-selector > CCSelectorCompositeProps > onError

CCSelectorCompositeProps.onError 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.

Passes a custom function for handling errors. The function receives the error message as a parameter.

Signature:

onError?: (error: string) => void;