Skip to content

Commit

Permalink
fix: 添加id属性
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaMaid committed Oct 26, 2018
1 parent e501418 commit 51cd100
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/template/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export interface IBaseComponent extends IEvent {
* 附加额外的 class
*/
className?: string;
/**
* 附加id
*/
id?: string;
/**
* 附加额外的样式
*/
Expand Down

0 comments on commit 51cd100

Please sign in to comment.