Quellcode durchsuchen
Custom component reference id OptionsTopBarButton typing (#6053)
Add id property to Button component interface
jarnove
vor 4 Jahren
Ursprung
Commit
60463729e5
Es ist kein Benutzerkonto mit dieser Commiter-Email verbunden
|
@@ -327,6 +327,13 @@ export interface OptionsTopBarButton {
|
327
|
327
|
* Set the button as a custom component
|
328
|
328
|
*/
|
329
|
329
|
component?: {
|
|
330
|
+ /**
|
|
331
|
+ * Component reference id, Auto generated if empty
|
|
332
|
+ */
|
|
333
|
+ id?: string;
|
|
334
|
+ /**
|
|
335
|
+ * Name of your component
|
|
336
|
+ */
|
330
|
337
|
name: string;
|
331
|
338
|
/**
|
332
|
339
|
* Properties to pass down to the component
|