UNPKG

@blinkk/selective-edit

Version:
17 lines (16 loc) 636 B
import { Field, FieldConfig } from '../field'; import { GlobalConfig, SelectiveEditor } from '../editor'; import { TemplateResult } from 'lit-html'; import { DeepObject } from '../../utility/deepObject'; import { Types } from '../types'; export interface TextFieldConfig extends FieldConfig { /** * Placeholder for the text input. */ placeholder?: string; } export declare class TextField extends Field { config: TextFieldConfig; constructor(types: Types, config: TextFieldConfig, globalConfig: GlobalConfig, fieldType?: string); templateInput(editor: SelectiveEditor, data: DeepObject): TemplateResult; }