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 = {
  modalProps: ModalProps;
  text?: string;
  title?: string;
  contentClassName?: string;
  contentStyle?: React.CSSProperties;
  textClassName?: string;
  textStyle?: React.CSSProperties;
  check?: {
    label: string;
    value: string;
    setValue: (value: string) => void;
    passValue: string;
    hint?: string;
  };
  buttons: {
    ok: DialogButtonProps;
    cancel?: DialogButtonProps;
    customButton?: DialogButtonProps;
  };
};
