Skip to content

Commit

Permalink
fix(module:button): update type error
Browse files Browse the repository at this point in the history
  • Loading branch information
ng-nest-moon committed May 31, 2021
1 parent f56f736 commit d7714fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ng-nest/ui/button/button.property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export class XButtonProperty extends XProperty implements XButtonOption {
* @zh_CN 图标
* @en_US Icon
*/
@Input() icon!: string;
@Input() icon?: string;
/**
* @zh_CN 提示
* @en_US Title
*/
@Input() title: string = '';
@Input() title?: string = '';
/**
* @zh_CN 布局方式
* @en_US Layout
Expand Down

0 comments on commit d7714fb

Please sign in to comment.