UNPKG

@prokodo/ui

Version:

UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.

20 lines (19 loc) 713 B
declare const _default: import("react").ComponentType<Omit<import("react").HTMLAttributes<HTMLInputElement>, "onChange"> & { name: string; label?: string; required?: boolean; variant?: import("./Switch.model").SwitchColor; icon?: import("../icon").IconName; checkedIcon?: import("../icon").IconName; checked?: boolean; disabled?: boolean; errorText?: string; helperText?: string; onChange?: (event: import("react").ChangeEvent<HTMLInputElement>, checked: boolean) => void; className?: string; labelProps?: Omit<import("../label").LabelProps, "label" | "htmlFor" | "required">; hideLabel?: boolean; } & { priority?: boolean; }>; export default _default;