@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
12 lines (11 loc) • 445 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
const Feedback = ({ children })=>{
if (children === undefined || children == null) return null;
// '\u00A0' allocates space for the feedback message when there is none
// to avoid jumping when a feedback message is toggled on/off
return /*#__PURE__*/ _jsx("div", {
className: "bf-label-feedback",
children: children || "\u00A0"
});
};
export default Feedback;