@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
19 lines (18 loc) • 471 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export const ActionsSpacer = ({
onClick,
noHover
}) => {
return /*#__PURE__*/_jsx("span", {
style: {
flexGrow: 1,
height: '100%',
cursor: noHover ? 'auto' : 'pointer'
},
className: "spacer",
onClick: onClick,
"data-component-name": "ToolbarSpacer"
});
};
// The Toolbar only recognizes spacers with the 'ToolbarSpacer' displayName
ActionsSpacer.displayName = 'ToolbarSpacer';