import React from 'react';
import { ThemeObject } from '../Theme';
import { ModalProps } from '../Modal';

type DialogButtonProps = {
  onClick: () => void;
  text?: string;
  color?: keyof ThemeObject['pallet'];
  textColor?: string;
};

export type DialogProps = {
  children?: React.ReactNode;
  contentClassName?: string;
  contentStyle?: React.CSSProperties;
  modalProps: ModalProps;
  text?: string;
  textClassName?: string;
  textStyle?: React.CSSProperties;
  title?: string;
  check?: {
    label: string;
    value: string;
    setValue: (value: string) => void;
    passValue: string;
    hint?: string;
  };
  buttons: {
    ok: DialogButtonProps;
    cancel?: DialogButtonProps;
    customButton?: DialogButtonProps;
  };
};
