@bigbinary/neetoui
Version:
neetoUI drives the experience at all neeto products
27 lines (24 loc) • 727 B
TypeScript
import React from "react";
import { LabelProps } from "./Label";
export interface MultiEmailInputProps {
label?: string;
placeholder?: string;
helpText?: string;
value?: { label: string; value: string; valid: boolean }[];
onChange?: (
emails: { label: string; value: string; valid: boolean }[]
) => void;
error?: string;
onBlur?: () => void;
filterInvalidEmails?: { label: string };
counter?: boolean | { label: string; startFrom: number };
disabled?: boolean;
required?: boolean;
maxHeight?: number;
labelProps?: LabelProps;
isCreateable?: boolean;
isAlwaysExpanded?: boolean;
[key: string]: any;
}
const MultiEmailInput: React.FC<MultiEmailInputProps>;
export default MultiEmailInput;