import { PropsWithChildren, ElementType } from 'react'; import { Flex, Box, BoxProps } from '@ag.ds-next/box'; import { tokens } from '@ag.ds-next/core'; import { ContentSpacingContext } from './context'; import { paddingYMap, ContentSpacing } from './utils'; export type BaseContentProps = PropsWithChildren< { as?: ElementType; id?: string; className?: string; tabIndex?: number; } & Pick >; type BaseContentComponentProps = BaseContentProps & { paddingY: ContentSpacing; }; export function BaseContent({ as = 'section', id, className, tabIndex, palette, background, children, paddingY, }: BaseContentComponentProps) { return ( {children} ); }