@churchapps/apphelper
Version:
Library of helper functions for React and NextJS ChurchApps
38 lines • 1.05 kB
TypeScript
import React from "react";
import { PaperProps } from "@mui/material";
declare module '@mui/material/styles' {
interface Palette {
InputBox: {
headerText: string;
};
}
interface PaletteOptions {
InputBox?: {
headerText?: string;
};
}
}
interface Props {
id?: string;
children?: React.ReactNode;
headerIcon?: string;
headerText?: string;
help?: string;
saveText?: string;
deleteText?: string;
cancelText?: string;
headerActionContent?: React.ReactNode;
cancelFunction?: () => void;
deleteFunction?: () => void;
saveFunction?: () => void;
"data-testid"?: string;
className?: string;
isSubmitting?: boolean;
ariaLabelDelete?: string;
ariaLabelSave?: string;
saveButtonType?: "submit" | "button";
mainContainerCssProps?: PaperProps;
}
export declare function InputBox({ mainContainerCssProps, ...props }: Props): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=InputBox.d.ts.map