Anchorage API reference
    Preparing search index...
    interface TextFieldProps {
        disabled?: boolean;
        label: string;
        onChange: (value: string) => void;
        onSubmit?: () => void;
        placeholder?: string;
        rows?: number;
        value: string;
    }
    Index

    Properties

    disabled?: boolean
    label: string
    onChange: (value: string) => void
    onSubmit?: () => void

    Fires on Enter for single-line inputs.

    placeholder?: string
    rows?: number

    Renders a multiline control (textarea) when set.

    value: string