UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

23 lines (22 loc) 901 B
import { Router } from '@angular/router'; import { CmsParagraphComponent } from '@spartacus/core'; import { CmsComponentData } from '../../../cms-structure/page/model/cms-component-data'; import * as i0 from "@angular/core"; export declare class ParagraphComponent { component: CmsComponentData<CmsParagraphComponent>; protected router?: Router; handleClick(event: Event): void; /** * @deprecated since version 5.0 * Use the following constructor instead: * ``` * constructor( * public component: CmsComponentData<CmsParagraphComponent>, * protected router: Router * ) {} * ``` */ constructor(component: CmsComponentData<CmsParagraphComponent>); static ɵfac: i0.ɵɵFactoryDeclaration<ParagraphComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ParagraphComponent, "cx-paragraph", never, {}, {}, never, never>; }