UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

16 lines (15 loc) 712 B
import React from 'react'; import { IContainer } from './types/container'; declare const Container: <T extends string>(props: React.PropsWithChildren<IContainer<T>> & React.RefAttributes<HTMLDivElement>) => JSX.Element; /** * A container is a component that wraps the content of a website. * @module Container * @interface IContainer * @category Contaiment Components * @param children - the content to render inside the container. * @param variant - the variant of the container. * @param dataTestId - the data test id of the container. * @param {React.ForwardedRef<HTMLDivElement> | undefined | null} ref - The component ref. * @returns {JSX.Element} The rendered component. */ export { Container };