UNPKG

@nebular/theme

Version:
63 lines (62 loc) 1.76 kB
import * as i0 from "@angular/core"; /** * List is a container component that wraps `nb-list-item` component. * * Basic example: * @stacked-example(Simple list, list/simple-list-showcase.component) * * `nb-list-item` accepts arbitrary content, so you can create a list of any components. * * ### Installation * * Import `NbListModule` to your feature module. * ```ts * @NgModule({ * imports: [ * // ... * NbListModule, * ], * }) * export class PageModule { } * ``` * ### Usage * * List of users: * @stacked-example(Users list, list/users-list-showcase.component) * * @styles * * list-item-divider-color: * list-item-divider-style: * list-item-divider-width: * list-item-padding: * list-item-text-color: * list-item-font-family: * list-item-font-size: * list-item-font-weight: * list-item-line-height: */ export declare class NbListComponent { /** * Role attribute value * * @type {string} */ role: string; static ɵfac: i0.ɵɵFactoryDeclaration<NbListComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NbListComponent, "nb-list", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, ["nb-list-item"], false, never>; } /** * List item component is a grouping component that accepts arbitrary content. * It should be direct child of `nb-list` componet. */ export declare class NbListItemComponent { /** * Role attribute value * * @type {string} */ role: string; static ɵfac: i0.ɵɵFactoryDeclaration<NbListItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NbListItemComponent, "nb-list-item", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, ["*"], false, never>; }