View as Markdown

API reference

@salmonui/inputs/text-field

6 exported symbols: 2 components, 3 interfaces and 1 type. Each name links its page with the signature, docs and members.

import { … } from '@salmonui/inputs/text-field';

Components

  • TextAreaMulti-line text input (TextBox multiline): a native <textarea>. ref is the textarea.
  • TextFieldSingle-line text input: a native <input> with label, description, validation, adornments and an optional clear button. ref is the input; unknown props go to th…

Interfaces

Types

  • TextFieldLocaleTextUser-visible strings: clear names the clear button; validation* keys override rule messages.