@navinc/base-react-components
Version:
Nav's Pattern Library
48 lines (47 loc) • 2.91 kB
TypeScript
export const StyledHeader: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {
as: "h1" | "h2" | "h3" | "h4" | "h5";
size: "md" | "xs" | "sm" | "lg" | "xl";
} & {
size?: "md" | "xs" | "sm" | "lg" | "xl" | undefined;
}, "size" | "as">;
export const StyledSubHeader: import("styled-components").StyledComponent<({ bold: _bold, shouldScaleFont: _shouldScaleFont, boldType: _boldType, light: _light, ...props }: import("./copy.js").CopyProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
export const StyledTwoColumn: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
export function MiniSBAPaycheckProtectionProgramForm({ initialValues, isSubmittingForm, onFormSubmit, dispatchOpenInfoDrawer, shouldShowPasswordField, headerHelperText, primaryContactNameValue, emailAddressValue, contactPhoneValue, businessLegalNameValue, addressValue, cityValue, stateValue, zipCodeValue, dbaValue, businessTypeValue, termsOfServiceBool, secondDraw, shouldShowHasReceivedSecondPPPDraw, termsHref, shouldShowDocumentation, privatePolicy, isClover, referrerID, }: {
initialValues?: {} | undefined;
isSubmittingForm?: boolean | undefined;
onFormSubmit?: (() => void) | undefined;
dispatchOpenInfoDrawer?: (() => void) | undefined;
shouldShowPasswordField?: boolean | undefined;
headerHelperText?: string | undefined;
primaryContactNameValue?: string | undefined;
emailAddressValue?: string | undefined;
contactPhoneValue?: string | undefined;
businessLegalNameValue?: string | undefined;
addressValue?: string | undefined;
cityValue?: string | undefined;
stateValue?: string | undefined;
zipCodeValue?: string | undefined;
dbaValue?: string | undefined;
businessTypeValue?: string | undefined;
termsOfServiceBool?: boolean | undefined;
secondDraw?: string | undefined;
shouldShowHasReceivedSecondPPPDraw?: boolean | undefined;
termsHref?: string | undefined;
shouldShowDocumentation?: boolean | undefined;
privatePolicy?: string | undefined;
isClover?: boolean | undefined;
referrerID?: string | undefined;
}): JSX.Element;
export namespace MiniSBAPaycheckProtectionProgramForm {
namespace propTypes {
let initialValues: propTypes.Requireable<object>;
let isSubmittingForm: propTypes.Requireable<boolean>;
let onFormSubmit: propTypes.Validator<(...args: any[]) => any>;
let dispatchOpenInfoDrawer: propTypes.Validator<(...args: any[]) => any>;
let shouldShowLoginPrompt: propTypes.Requireable<boolean>;
let loginPromptUrl: propTypes.Requireable<string>;
let onLoginPromptDismiss: propTypes.Requireable<(...args: any[]) => any>;
let shouldShowPasswordField: propTypes.Requireable<boolean>;
}
}
import propTypes_1 from 'prop-types';