@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
17 lines • 420 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
export const EmptyRow = ({
virtualRow,
className,
children
}) => {
return /*#__PURE__*/_jsx("div", {
"data-empty-row": "true",
className: className,
style: {
height: `${virtualRow.size}px`,
transform: `translateY(${virtualRow.start}px)`,
boxSizing: 'border-box'
},
children: children
}, `empty_row_${virtualRow.index}`);
};