UNPKG

@adobe/aem-core-components-react-base

Version:
28 lines 1.17 kB
/// <reference types="react" /> import { HasBaseCssClass } from "../../../AbstractCoreComponent"; import { RoutedCoreComponentModel, RoutedModel } from "../../../routing/RoutedCoreComponent"; export interface ListV2Item extends RoutedModel, HasBaseCssClass { index?: number; url?: string; lastModified?: number; lastModifiedFormatted?: string; description?: string; path: string; title: string; showModificationDate?: boolean; } export interface ListV2Model extends RoutedCoreComponentModel { items: ListV2Item[]; dateFormatString: string; showDescription: boolean; showModificationDate: boolean; linkItems: boolean; } export declare const ListV2ItemModificationDate: (item: ListV2Item) => JSX.Element; export declare const ListV2ItemContent: (item: ListV2Item) => JSX.Element; export declare const ListV2Anchor: (item: ListV2Item) => JSX.Element; export declare const ListV2ItemDescription: (item: ListV2Item) => JSX.Element; export declare const ListV2Impl: (props: ListV2Model) => JSX.Element; declare const ListV2: (props: ListV2Model) => JSX.Element; export default ListV2; //# sourceMappingURL=ListV2.d.ts.map