@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
31 lines • 1.1 kB
TypeScript
/**
* Credit where credit is due...
* I created this component with the VERY helpful Bing Chat and some iterations.
* Great Help and shout out to Bing Chat!
*/
import * as React from 'react';
export type ITextBackground = 'transparent' | 'yellow' | 'red';
export type ITextValidationType = 'json' | 'html' | 'xml' | 'spo' | 'spo-page' | 'number' | 'text';
export interface IFPSTextInput {
title?: string;
titleStyles?: React.CSSProperties;
subTitle?: string;
subTitleStyles?: React.CSSProperties;
inputStyles?: React.CSSProperties;
placeholder?: string;
onTextChange?: (text: string) => void;
defaultValue?: string;
reactCSS?: React.CSSProperties;
className?: string;
description?: string;
validationType?: ITextValidationType;
required?: boolean;
multiLine?: boolean;
disabled?: boolean;
maxLines?: number;
actionElement?: JSX.Element;
errorElement?: JSX.Element;
}
declare const FPSTextInput: React.FC<IFPSTextInput>;
export default FPSTextInput;
//# sourceMappingURL=FPSTextInput.d.ts.map