/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

import { pkg } from "../../settings.js";
import React from "react";
import PropTypes from "prop-types";

//#region src/components/InterstitialScreen/InterstitialScreenView.tsx
/**
* Copyright IBM Corp. 2023, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const blockClass = `${pkg.prefix}--interstitial-screen-view`;
const componentName = "InterstitialScreenView";
/**
* An Onboarding component intended to be used as the child elements of the InterstitialScreen body component.
*/
const InterstitialScreenView = React.forwardRef(({ children, className, stepTitle, translateWithId, ...rest }, ref) => {
	return /* @__PURE__ */ React.createElement("div", {
		...rest,
		className: `${blockClass} ${className}`,
		ref
	}, children);
});
InterstitialScreenView.displayName = componentName;
InterstitialScreenView.propTypes = {
	children: PropTypes.node,
	className: PropTypes.string,
	stepTitle: PropTypes.string.isRequired,
	translateWithId: PropTypes.func
};

//#endregion
export { InterstitialScreenView };