Skip to content

API Reference / @gtkx/testing / queryByPlaceholderText

Variable: queryByPlaceholderText

const queryByPlaceholderText: BuiltinQueries["queryByPlaceholderText"]

Defined in: queries.d.ts:115

Returns the single widget with matching placeholder text, or null when none match. Throws when more than one matches.

Released under the MPL-2.0 License.