UNPKG

@sikka/hawa

Version:

Modern UI Kit made with Tailwind

81 lines (74 loc) 2.09 kB
import React__default, { FC } from 'react'; import { PopoverContentProps } from '@radix-ui/react-popover'; import { D as DirectionType, B as BaseInputType } from '../../textTypes-DXLtO2fL.mjs'; type RadioOptionsTypes = { value: any; label: any; disabled?: any; sublabel?: any; icon?: any; tooltip?: string; tooltipContentProps?: PopoverContentProps; }; type ComponentTypes$2 = { title?: string; question: string; description?: string; tag?: any; options?: RadioOptionsTypes[]; position?: "bottom-right" | "bottom-left"; direction?: DirectionType; onSubmitForm?: (e: any) => void; texts?: { pleaseSelectOption: string; textTooShort: string; submit?: string; }; }; declare const UserReferralSource: FC<ComponentTypes$2>; type ComponentTypes$1 = { title?: string; question: string; banner?: boolean; options?: any[]; position?: "bottom-right" | "bottom-left"; onOptionClicked?: (option: any) => void; texts?: { least: string; most: string; }; }; declare const FeedbackRating: FC<ComponentTypes$1>; type ComponentTypes = { handleSubmit: ({}: {}) => void; showSuccess?: boolean; }; declare const FeedbackEmoji: FC<ComponentTypes>; type FeedbackFormRequestTypeInputProps = BaseInputType & { required?: string; noOptions?: string; }; type FeedbackFormDescriptionInputProps = BaseInputType & { required?: string; tooShort?: string; }; type FeedbackFormType = { sent?: boolean; onSubmit: (e: any) => void; loadingSubmission?: boolean; requestTypes?: { label: string; value: any; }[]; selectProps?: any; cardless?: boolean; texts: { requestType: FeedbackFormRequestTypeInputProps; description: FeedbackFormDescriptionInputProps; submit?: string; sentTitle?: string; sentSubtitle?: string; }; }; declare const FeedbackForm: React__default.FC<FeedbackFormType>; export { FeedbackEmoji, FeedbackForm, FeedbackRating, UserReferralSource };