providers continue partie2
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {NzModalComponent, NzModalModule} from "ng-zorro-antd/modal";
|
||||
import {NzButtonComponent, NzButtonModule} from "ng-zorro-antd/button";
|
||||
import {ProvidersAddForm} from "../providers-add-form/providers-add-form";
|
||||
import {NzMessageService} from "ng-zorro-antd/message";
|
||||
|
||||
@Component({
|
||||
selector: 'app-providers-card-form',
|
||||
imports: [NzButtonModule, NzModalModule, ProvidersAddForm],
|
||||
imports: [NzButtonModule, NzModalModule],
|
||||
template: `
|
||||
<button nz-button nzType="primary" (click)="showModal()">
|
||||
<span>+</span>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<p>providers-card works!</p>
|
||||
<app-providers-card-form/>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {ProvidersCardForm} from "../providers-card-form/providers-card-form";
|
||||
|
||||
@Component({
|
||||
selector: 'app-providers-card',
|
||||
imports: [],
|
||||
imports: [ProvidersCardForm],
|
||||
templateUrl: './providers-card.html',
|
||||
styleUrl: './providers-card.css',
|
||||
})
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
// Override less variables to here
|
||||
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
|
||||
|
||||
@primary-color: #1c1c1c;
|
||||
// @primary-color: #1890ff;
|
||||
|
||||
Reference in New Issue
Block a user