diff --git a/src/Container/index.jsx b/src/Container/index.jsx
index a00b3c6e21..84f3192ac1 100644
--- a/src/Container/index.jsx
+++ b/src/Container/index.jsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { forwardRef } from 'react';
import classNames from 'classnames';
import RBContainer from 'react-bootstrap/Container';
import PropTypes from 'prop-types';
@@ -11,19 +11,18 @@ const SIZE_CLASS_NAMES = {
xl: 'container-mw-xl',
};
-function Container({ size, children, ...props }) {
- return (
-
- {children}
-
- );
-}
+const Container = forwardRef(({ size, children, ...props }, ref) => (
+
+ {children}
+
+));
Container.propTypes = {
...RBContainer.propTypes,