UNPKG

@lobehub/ui

Version:

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

24 lines • 866 B
import { FlexboxProps } from "../../Flex/type.mjs"; import "../../Flex/index.mjs"; import { SurfaceRenderLink } from "../Surface/type.mjs"; import { ReactNode } from "react"; //#region src/dashboard/Section/type.d.ts interface SectionProps extends Omit<FlexboxProps, 'title'> { desc?: ReactNode; extra?: ReactNode; fontSize?: number; icon?: ReactNode; /** Text of the "more" link. */ more?: ReactNode; /** Target of the "more" link. An `http` URL opens in a new tab. */ moreLink?: string; /** Card body padding (`variant="card"`). Turn off when the children already sit on the card edge. */ padded?: boolean; renderLink?: SurfaceRenderLink; title?: ReactNode; /** `default` is a titled page section; `card` wraps it in a Surface. */ variant?: 'default' | 'card'; } //#endregion export { SectionProps }; //# sourceMappingURL=type.d.mts.map