retro-react
Version:
A React component library for building retro-style websites
29 lines (28 loc) • 834 B
TypeScript
/// <reference types="react" />
/** @jsxImportSource theme-ui */
import { ThemeUICSSObject } from 'theme-ui';
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* If `true`, apply `width: 100%`.
*
* @default false
*/
fluid?: boolean;
/**
* Sx prop
*
* @default undefined
*/
sx?: ThemeUICSSObject;
}
/**
* The fundamental building block that centers your content horizontally.
* It creates a simple `div` to wrap your content and align within a given viewport.
* Supports `sx` prop from Theme UI.
*
* @example
* <Container>
* <!-- your content here -->
* </Container>
*/
export declare const Container: ({ fluid, className, children, ...rest }: ContainerProps) => import("theme-ui/jsx-runtime").JSX.Element;