Skip to content

Commit d976d66

Browse files
ConfirmationDialog: make props extend HTMLDivElement (#655)
1 parent 2890523 commit d976d66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ConfirmationDialog/ConfirmationDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Container, Dialog, Separator, Text } from "@/components";
2-
import { ReactElement, ReactNode } from "react";
2+
import { HTMLAttributes, ReactElement, ReactNode } from "react";
33
import { styled } from "styled-components";
44

55
type DialogPrimaryAction = "primary" | "danger";
66

7-
export interface ConfirmationDialogProps {
7+
export interface ConfirmationDialogProps extends HTMLAttributes<HTMLDivElement> {
88
children?: ReactNode;
99
disabled?: boolean;
1010
loading?: boolean;

0 commit comments

Comments
 (0)