Skip to content

Commit

Permalink
Merge pull request #240 from eugenioenko/main
Browse files Browse the repository at this point in the history
fix: component Element signature
  • Loading branch information
josemarluedke authored Aug 30, 2023
2 parents 491439e + 04fe809 commit 6d77453
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface NotificationCardArgs {

export interface NotificationCardSignature {
Args: NotificationCardArgs;
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class NotificationCard extends Component<NotificationCardSignature> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface NotificationsContainerArgs {

export interface NotificationsContainerSignature {
Args: NotificationsContainerArgs;
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class NotificationsContainer extends Component<NotificationsContainerSignature> {
Expand Down
2 changes: 1 addition & 1 deletion packages/overlays/addon/components/drawer/body.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface DrawerBodyArgs

export interface DrawerBodySignature {
Args: DrawerBodyArgs;
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class DrawerBody extends Component<DrawerBodySignature> {}
2 changes: 1 addition & 1 deletion packages/overlays/addon/components/drawer/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface DrawerFooterArgs

export interface DrawerFooterSignature {
Args: DrawerFooterArgs;
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class DrawerFooter extends Component<DrawerFooterSignature> {}
2 changes: 1 addition & 1 deletion packages/overlays/addon/components/drawer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface DrawerSignature {
}
];
};
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class Drawer extends Component<DrawerSignature> {
Expand Down
2 changes: 1 addition & 1 deletion packages/overlays/addon/components/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface ModalSignature {
}
];
};
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class Modal extends Component<ModalSignature> {
Expand Down
2 changes: 1 addition & 1 deletion packages/overlays/addon/components/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export interface OverlayArgs {

export interface OverlaySignature {
Args: OverlayArgs;
Element: HTMLDivElement | null;
Element: HTMLDivElement;
}

export default class Overlay extends Component<OverlaySignature> {
Expand Down

0 comments on commit 6d77453

Please sign in to comment.