diff --git a/striker-ui/components/FormDialog.tsx b/striker-ui/components/FormDialog.tsx new file mode 100644 index 00000000..09630391 --- /dev/null +++ b/striker-ui/components/FormDialog.tsx @@ -0,0 +1,34 @@ +import { forwardRef, useMemo } from 'react'; + +import ConfirmDialog from './ConfirmDialog'; + +const FormDialog = forwardRef< + ConfirmDialogForwardedRefContent, + ConfirmDialogProps +>((props, ref) => { + const { scrollContent: isScrollContent } = props; + + const scrollBoxPaddingRight = useMemo( + () => (isScrollContent ? '.5em' : undefined), + [isScrollContent], + ); + + return ( + + ); +}); + +FormDialog.displayName = 'FormDialog'; + +export default FormDialog;