@open-tender/ui
Version:
A component library for use with the Open Tender web app
17 lines (16 loc) • 556 B
TypeScript
import React, { ReactNode } from 'react';
import { ScreenConfig, Styles } from '../types';
export interface ModalContentProps {
config: ScreenConfig;
title?: string;
subtitle?: string | null;
children: ReactNode;
submit?: () => void;
submitText?: string;
cancel?: () => void;
cancelText?: string;
style?: Styles;
error?: string;
}
declare const ModalContent: ({ config, title, subtitle, children, submit, submitText, cancel, cancelText, style }: ModalContentProps) => React.JSX.Element;
export default ModalContent;