def METHOD_NAME(library):
    library.add_text_input(name="input-field")
    assert len(library.elements) == 1
    assert library.elements[0] == {
        "type": "input-text",
        "name": "input-field",
        "placeholder": None,
        "rows": None,
        "label": None,
    }