@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
32 lines • 1.39 kB
TypeScript
import { SupportedIconsSuggestions } from '@c8y/ngx-components/icon-selector/icons';
import * as i0 from "@angular/core";
/**
* A component to show generic empty state.
* Title and subtitle should be used with translate pipe to mark strings for translation.
* Component can be displayed vertically (default) or horizontally.
* Additional markup elements can be placed inside the tag.
*
* ```html
* <c8y-ui-empty-state
* [icon]="'c8y-icon'"
* [title]="'Place your title here' | translate"
* [subtitle]="'Place your subtitle here' | translate"
* [horizontal]="true"
* >
* (...)
* </c8y-ui-empty-state>
* ```
*/
export declare class EmptyStateComponent {
/** Icon name. */
icon: SupportedIconsSuggestions;
/** Required title. */
title: string;
/** Optional subtitle. */
subtitle: string;
/** Whether to display it in horizontal layout. */
horizontal: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "c8y-ui-empty-state", never, { "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, {}, never, ["*"], true, never>;
}
//# sourceMappingURL=empty-state.component.d.ts.map