UNPKG

@vendasta/store

Version:

Components and data for Store

17 lines (16 loc) 532 B
import { ControlType, FieldBase, FieldBaseOptions } from './field-base'; export declare type TextboxType = 'text'; export interface TextBoxFieldOptions extends FieldBaseOptions { textboxType: TextboxType; prefix?: string; suffix?: string; } export declare class TextboxField extends FieldBase<string> { readonly controlType: ControlType; textboxType: TextboxType; prefix: string; suffix: string; regexValidator: string; regexErrorMessage: string; constructor(options: TextBoxFieldOptions); }