chat-frontend-library
Version:
``` npm install chat-frontend-library --save ```
14 lines (13 loc) • 500 B
TypeScript
import React, { ComponentProps } from "react";
import "./CustomInput.scss";
interface CustomInputProps {
placeholder: ComponentProps<"input">["placeholder"];
type?: ComponentProps<"input">["type"];
name?: ComponentProps<"input">["name"];
border?: boolean;
pad5?: boolean;
cbHandleAddEmoji?: (emoji: string) => void;
isChat?: boolean;
}
export declare const CustomInput: React.ForwardRefExoticComponent<CustomInputProps & React.RefAttributes<HTMLInputElement>>;
export {};