import XMarkIcon from "@heroicons/react/20/solid/XMarkIcon"; import clsx from "clsx"; import React from "react"; import { createPolymorphicComponent } from "../../utils/createPolymorphicComponent"; import { IconButton } from "../IconButton"; import styles from "./styles.module.scss"; export const dialogClassNames = { container: styles.Block, backdrop: styles.backdrop, panelWrapper: styles["panel-wrapper"], panel: styles.panel, title: styles.title, content: styles.content, close: styles.close, }; type BaseProps = { children?: React.ReactNode; className?: string; style?: React.CSSProperties; }; const DialogBackdrop = ({ className, ...props }: BaseProps) => { return (
); }; const DialogPanelWrapper = ({ className, ...props }: BaseProps) => { return ( ); }; const DialogPanel = ({ className, ...props }: BaseProps) => { return ; }; const DialogTitle = ({ className, ...props }: BaseProps) => { return ; }; const DialogContent = ({ className, ...props }: BaseProps) => { return ; }; const _DialogClose = React.forwardRef