@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
20 lines • 714 B
text/typescript
import { IconProps } from "../Icon/type.mjs";
import "../Icon/index.mjs";
import "./landingLink.mjs";
import { ReactNode } from "react";
//#region src/awesome/landingActions.d.ts
interface LandingAction {
/** Opens in a new tab. Inferred from absolute URLs when omitted. */
external?: boolean;
href: string;
icon?: IconProps['icon'];
/** Places the icon after the label, e.g. for an arrow. */
iconPlacement?: 'start' | 'end';
label: ReactNode;
/** The primary action is a filled pill; others render as BottomGradientButton. */
primary?: boolean;
}
type LandingNavigate = (href: string) => void;
//#endregion
export { LandingAction, LandingNavigate };
//# sourceMappingURL=landingActions.d.mts.map