Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | import { SxProps } from "@mui/material";
import { StepperProps } from "@mui/material";
export type SignupStepType = (typeof SignupEnum)[keyof typeof SignupEnum];
export enum SignupEnum {
BUSSINESS_TYPE = "How do you classify your business?",
BUSINESS_CLASSIFICATION = "Business Classification",
PERSONAL_DETAILS = "Personal Details",
ORGANIZATION_DETAILS = "Business Details",
WELCOME = "Welcome",
}
export type TMerchantClassification =
| "profit"
| "non_profit"
| "individual"
| "crowdfunding";
export type FormProps = {
handleUpdateStatusValue: (value: number) => void;
handleNext: any;
setIsStart: () => void;
handleResetStatusbars: () => void;
isFirstPage: boolean;
};
export type TInputName = TMerchantClassification | "";
export type IFormInputs = {
name: TInputName;
id: string;
};
export interface IStepperProps extends StepperProps {
customSteps: KotoStep[];
isClickable?: boolean;
defaultStep?: string;
setIsLoaded?: React.Dispatch<React.SetStateAction<boolean>>;
actionOnClick?: React.Dispatch<React.SetStateAction<number>>;
setStep?: React.Dispatch<React.SetStateAction<any>>;
LinearProgressProps?: SxProps;
svgProps?: { width?: number; height?: number };
automateLast?: boolean;
disableLastClick?: boolean;
overriderActiveStep?: number;
disableWithoutStyle?: boolean;
alwaysEnable?: boolean;
kotoStepClickHandler?: () => void;
isCompletedColor?: boolean;
showCompletedView?: boolean;
}
export type KotoStep = {
label: string;
barValue: number;
hidden?: boolean;
};
|