@react-md/form
Version:
This package is for creating all the different form input types.
14 lines • 498 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultGetErrorIcon = void 0;
/**
* The default implementation for showing an error icon in `TextField` and
* `TextArea` components that will only display when the error flag is enabled.
*
* @remarks \@since 2.5.0
*/
var defaultGetErrorIcon = function (_message, error, errorIcon) {
return error && errorIcon;
};
exports.defaultGetErrorIcon = defaultGetErrorIcon;
//# sourceMappingURL=getErrorIcon.js.map