@upv/react-ui-core
Version:
**USHI Design System — Modern UI Component Library**
39 lines (38 loc) • 1.12 kB
TypeScript
import React from "react";
type BackgroundMediaType = "image" | "video" | "lottie";
export interface DefaultSectionProps {
title?: string | null | false;
subtitle?: string | null | false;
content?: React.ReactNode | null | false;
actions?: React.ReactNode | null | false;
alignment?: "left" | "center" | "right";
backgroundMedia?: {
type: BackgroundMediaType;
src?: string;
lottieOptions?: object;
alt?: string;
useMediaLoader?: boolean;
mediaName?: string;
mediaBaseUrl?: string;
};
textColor?: string;
overlayColor?: string;
backgroundColor?: string;
fullHeight?: boolean;
snap?: boolean;
contentOverlay?: {
color?: string;
blur?: boolean;
padding?: string;
borderRadius?: string;
} | null | false;
sectionId?: string;
shadow?: boolean;
border?: boolean;
stickyHeader?: React.ReactNode;
stickyFooter?: React.ReactNode;
parallax?: boolean;
animateOnScroll?: boolean;
}
export declare const DefaultSection: React.FC<DefaultSectionProps>;
export {};