import classNames from "classnames"; import React from "react"; type ContainerProps = { /** * Use a custom element for this component */ as?: React.ElementType; /** * Allow the Container to fill available horizontal space. */ fluid?: boolean; /** * Allow the Container to fill available vertical space. */ isFullHeight?: boolean; /** * For testing/debugging only -- show hotpink grid borders and backgrounds. */ outlineDebug?: boolean; /** * Pad inner content. */ paddedContent?: "none" | "around" | "sides" | "ends" | "remove"; /** * Remove first and last child side padding. */ pullRowPadding?: boolean; /** * Add top margin space between rows. */ pushRowsTop?: boolean; }; /** * @deprecated This component has been deprecated 2021-06-04. Use Grid or LayoutGrid instead. */ const Container: React.SFC = React.forwardRef( ( { as: Component = "div", fluid, isFullHeight, outlineDebug, paddedContent, pullRowPadding, pushRowsTop, ...props }, ref ) => { const prefix = "container"; return ( ); } ); Container.displayName = "Container"; Container.defaultProps = { fluid: false, isFullHeight: false, }; export default Container;