UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

29 lines • 1.28 kB
import { DivProps } from "../../types/index.mjs"; import { LandingLinkRender } from "../landingLink.mjs"; import { LandingAction, LandingNavigate } from "../landingActions.mjs"; import { ReactNode } from "react"; //#region src/awesome/LandingHero/type.d.ts type LandingHeroAction = LandingAction; interface LandingHeroProps extends Omit<DivProps, 'title'> { /** Rendered after the title with the landing accent gradient. */ accent?: ReactNode; actions?: LandingHeroAction[]; /** * Content beside the text, e.g. an AgentSkillCard or a product preview. Setting it switches the * hero to a two-column layout with left-aligned text; it stacks below the text on narrow screens. */ aside?: ReactNode; /** Small pill above the title, e.g. a release note link. */ badge?: ReactNode; /** Full-width content below the hero, e.g. a LogoMarquee. */ children?: ReactNode; description?: ReactNode; /** Renders action links, so client-side routers can supply their own Link. */ /** Client-side navigation for internal non-primary actions (rendered as BottomGradientButton). */ onNavigate?: LandingNavigate; renderLink?: LandingLinkRender; title: ReactNode; } //#endregion export { LandingHeroAction, LandingHeroProps }; //# sourceMappingURL=type.d.mts.map