UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

18 lines 759 B
/** @component input */ import React from 'react'; import PropTypes from 'prop-types'; /** Input Message with required message */ /** * @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards. **/ var InputMessage = function (_a) { var message = _a.message; return (React.createElement("div", { className: "md-input__message", role: "alert" }, message)); }; InputMessage.propTypes = { /** @prop message message for InputMessage component */ message: PropTypes.string.isRequired, }; InputMessage.displayName = 'InputMessage'; export default InputMessage; //# sourceMappingURL=index.js.map