UNPKG

@intuitionrobotics/thunderstorm

Version:
23 lines 743 B
import * as React from 'react'; import { StorageKey } from '../modules/StorageModule.js'; import { BaseComponent } from '../core/BaseComponent.js'; export type FieldEditorProps = { isEditing: boolean; value?: string; storageKey: StorageKey<string>; inputStyle?: React.CSSProperties; labelStyle?: React.CSSProperties; onAccept?: () => void; onCancel?: () => void; onBlur?: () => void; id: string; placeholder?: string; }; export declare class FieldEditor extends BaseComponent<FieldEditorProps> { constructor(props: FieldEditorProps); onChange: (value: string) => void; private renderInput; private renderLabel; render(): React.JSX.Element; } //# sourceMappingURL=FieldEditor.d.ts.map