UNPKG

@sikka/hawa

Version:

Modern UI Kit made with Tailwind

109 lines (99 loc) 2.55 kB
import React__default, { FC } from 'react'; import { T as TextInputType, R as RadioOptionType } from '../../textTypes-DXLtO2fL.js'; type TabType = { title: string; content: string; value: string; }; type LegalTextsType = { tabs: TabType[]; activeTab?: any; handleTabChange?: any; direction?: any; defaultTab?: any; scrollAreaClassName?: string; }; declare const LegalTexts: React__default.FC<LegalTextsType>; type EmptyStateProps = { onActionClick: () => void; texts?: { youreCaughtUp?: string; actionText?: string; }; }; declare const EmptyState: FC<EmptyStateProps>; type TestimonialProps = { variant?: "outlined" | "contained" | "neobrutalism"; }; declare const Testimonial: FC<TestimonialProps>; type LGProps = { texts?: { title?: string; subtitle?: string; submit?: string; invalidEmail?: string; }; submitHandler: (e: string) => void; }; declare const LeadGenerator: FC<LGProps>; type AnnouncementTypes = { onActionClick: () => void; actionText?: string; title?: string; subtitle?: string; }; declare const Announcement: FC<AnnouncementTypes>; type NotFoundTypes = { variant?: "outlined" | "contained" | "neobrutalism"; texts?: { pageNotFound?: string; ifLost?: string; home?: string; }; }; declare const NotFound: FC<NotFoundTypes>; type NoPermissionProps = { texts?: { title: string; subtitle: string; }; }; declare const NoPermission: FC<NoPermissionProps>; type ContactFormData = { name: string; email: string; message: string; } & { [key: string]: string; }; type CustomField = { label: string; type: "text" | "number" | "select"; name: string; placeholder?: string; options?: RadioOptionType[]; }; type ContactFormProps = { cardless?: boolean; formId?: string; formAutoComplete?: "on" | "off"; size?: "sm" | "default"; onSubmit: (e: ContactFormData) => void; customFields?: CustomField[]; showSuccess?: boolean; classNames?: { submitButton?: string; }; texts?: { submit: string; name: TextInputType; email: TextInputType; message: TextInputType; success?: { title?: string; description?: string; }; }; }; declare const ContactForm: React__default.FC<ContactFormProps>; export { Announcement, ContactForm, EmptyState, LeadGenerator, LegalTexts, NoPermission, NotFound, Testimonial };