Skip to content

Commit

Permalink
Custom component reference id OptionsTopBarButton typing (#6053)
Browse files Browse the repository at this point in the history
Add id property to Button component interface
  • Loading branch information
jarnove authored Mar 18, 2020
1 parent 8f2f353 commit 6046372
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/src/interfaces/Options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,13 @@ export interface OptionsTopBarButton {
* Set the button as a custom component
*/
component?: {
/**
* Component reference id, Auto generated if empty
*/
id?: string;
/**
* Name of your component
*/
name: string;
/**
* Properties to pass down to the component
Expand Down

0 comments on commit 6046372

Please sign in to comment.