@navinc/base-react-components
Version:
Nav's Pattern Library
49 lines (48 loc) • 2.98 kB
TypeScript
export const StyledHeader: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {
as: "h1" | "h2" | "h3" | "h4";
size: "md" | "xs" | "sm" | "lg" | "xl";
theme: import("styled-components").DefaultTheme;
} & {
size?: "md" | "xs" | "sm" | "lg" | "xl" | undefined;
}, "size" | "theme" | "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 {
const initialValues: propTypes.Requireable<object>;
const isSubmittingForm: propTypes.Requireable<boolean>;
const onFormSubmit: propTypes.Validator<(...args: any[]) => any>;
const dispatchOpenInfoDrawer: propTypes.Validator<(...args: any[]) => any>;
const shouldShowLoginPrompt: propTypes.Requireable<boolean>;
const loginPromptUrl: propTypes.Requireable<string>;
const onLoginPromptDismiss: propTypes.Requireable<(...args: any[]) => any>;
const shouldShowPasswordField: propTypes.Requireable<boolean>;
}
}
import propTypes_1 from "prop-types";