# Text Fields ```typescript interface TextField extends InputBase, TextInputBase, TextInputDOM, ValueBase, Labelable, TextInputDOMProps, StyleProps { icon?: ReactNode, isQuiet?: boolean, validationTooltip?: ReactNode } type TextArea = TextField; interface SearchField extends TextField { onSubmit?: (value: string) => void, onClear?: () => void } interface SearchWithin extends InputBase, TextInputBase, Labelable, DOMProps, StyleProps { // not extending from ValueBase because we want onValueChange instead of onChange value?: string, defaultValue?: string, onValueChange: (value: string) => void, onSubmit: (value: string) => void, scope?: string, defaultScope?: string, onScopeChange: (scope: string) => void, children: ReactElement | ReactElement[], } // should this contain a textfield or other input instead of specifically being a textfield? interface InlineEditor extends TextField { onCancel?: () => void } ``` ## Changes (all) | **v2** | **v3** | **Notes** | | ------------- | --------------------------- | --------- | | `` | `` | | | `