@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
14 lines (13 loc) • 589 B
TypeScript
import type { HTMLAttributes } from 'react';
import type { ComponentProps } from '../../types';
import type { ButtonProps } from '../../../../components/button/Button';
export type FormSubmitButtonProps = {
/**
* Show the submit indicator
*/
showIndicator?: boolean;
} & ComponentProps & Omit<ButtonProps, 'variant'> & Partial<Omit<HTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, 'title'>> & {
variant?: 'send' | 'secondary';
};
declare function SubmitButton(props: FormSubmitButtonProps): import("react/jsx-runtime").JSX.Element;
export default SubmitButton;