import { type ElementType } from 'react'; import { type ContainerProps } from './container'; import { type BackgroundColorsDictionaryType, type ChildrenProps, type SingleOrResponsive, type SizeExtendedDictionaryType, type SpaceToken, type SpiritPolymorphicElementPropsWithRef, type StyleProps, type TextAlignmentType } from './shared'; export interface SectionBaseProps extends ChildrenProps, StyleProps { elementType?: E; } export interface SectionProps extends SectionBaseProps { containerProps?: ContainerProps; hasContainer?: boolean; backgroundColor?: BackgroundColorsDictionaryType; paddingY?: SingleOrResponsive; paddingTop?: SingleOrResponsive; paddingBottom?: SingleOrResponsive; size?: SizeExtendedDictionaryType | S; textAlignment?: TextAlignmentType; } export type SpiritSectionProps = SectionProps & SpiritPolymorphicElementPropsWithRef>;