UNPKG

@rocket.chat/onboarding-ui

Version:

Set of components and functions for the onboarding experience on Rocket.Chat

24 lines 1.07 kB
import type { SelectOption } from '@rocket.chat/fuselage'; import type { ReactElement, ReactNode } from 'react'; import type { SubmitHandler } from 'react-hook-form'; export type OrganizationInfoPayload = { organizationName: string; organizationIndustry: string; organizationSize: string; country: string; }; type OrganizationInfoFormProps = { currentStep: number; stepCount: number; organizationIndustryOptions: SelectOption[]; organizationSizeOptions: SelectOption[]; countryOptions: SelectOption[]; nextStep?: ReactNode; initialValues?: OrganizationInfoPayload; onSubmit: SubmitHandler<OrganizationInfoPayload>; onBackButtonClick?: () => void; onClickSkip?: () => void; }; declare const OrganizationInfoForm: ({ currentStep, stepCount, organizationIndustryOptions, organizationSizeOptions, countryOptions, nextStep, initialValues, onSubmit, onBackButtonClick, onClickSkip, }: OrganizationInfoFormProps) => ReactElement; export default OrganizationInfoForm; //# sourceMappingURL=OrganizationInfoForm.d.ts.map