@arteneo/forge
Version:
15 lines (14 loc) • 747 B
TypeScript
import React from "react";
import { LoadingButtonProps } from "../../components/Common/LoadingButton";
import TranslateVariablesInterface from "../../definitions/TranslateVariablesInterface";
import DenyPropInterface from "../../components/Table/definitions/DenyPropInterface";
type InternalButtonProps = Omit<LoadingButtonProps, "children">;
interface LabelChildrenProps {
label?: string;
labelVariables?: TranslateVariablesInterface;
children?: React.ReactNode;
}
type ButtonProps = InternalButtonProps & LabelChildrenProps & DenyPropInterface;
declare const Button: ({ label, labelVariables, children, deny, denyKey, denyBehavior, ...props }: ButtonProps) => React.JSX.Element | null;
export default Button;
export { ButtonProps };