New source found from dndbeyond.com

This commit is contained in:
2026-07-08 01:00:09 -07:00
parent 9a983a6d7b
commit dcefa0d2f2
2865 changed files with 222467 additions and 49053 deletions
+21
View File
@@ -0,0 +1,21 @@
import clsx from "clsx";
import { FC } from "react";
import {
Dialog as TtuiDialog,
DialogProps as TtuiDialogProps,
} from "@dndbeyond/ttui/components/Dialog";
import styles from "./styles.module.css";
/**
* A wrapper around the TTUI Dialog component to apply custom styles. This is necessary because the
* transform property conflicts with styles for the select component. Using this component to
* remove those styles resolves the issue.
*/
export interface DialogProps extends TtuiDialogProps {}
export const Dialog: FC<DialogProps> = ({ className, ...props }) => {
return <TtuiDialog className={clsx(styles.dialog, className)} {...props} />;
};