@wordpress/components
Version:
UI components for WordPress.
20 lines (19 loc) • 624 B
JavaScript
import clsx from "clsx";
import { forwardRef } from "@wordpress/element";
import { jsx } from "react/jsx-runtime";
// packages/components/src/panel/row.tsx
function UnforwardedPanelRow({ className, children }, ref) {
return /* @__PURE__ */ jsx("div", {
className: clsx("components-panel__row", className),
ref,
children
});
}
/**
* `PanelRow` is a generic container for rows within a `PanelBody`.
* It is a flex container with a top margin for spacing.
*/
const PanelRow = forwardRef(UnforwardedPanelRow);
PanelRow.displayName = "PanelRow";
export { PanelRow, PanelRow as default };
//# sourceMappingURL=row.mjs.map