import React from "react"; import type { PolymorphicWithRef, ContainerOwnProps } from "../types"; import { ContainerBase } from "../base-components"; export type ContainerProps = PolymorphicWithRef< E, ContainerOwnProps >; export type ContainerElement = ( props: ContainerProps ) => React.ReactElement>; /** * **A Container is used to contain elements inside a specific width.** \ * By default the maxWidth set to `lg` (1240px) */ const Container: ContainerElement = React.forwardRef( ( props: ContainerProps, innerRef: typeof props.ref ) => { const { component = "div", ...rest } = props; return ( ); } ); export default Container;