Files
element-x-ios/compound-ios/Inspector/Sources/Components/TextFieldsScreen.swift
T
Doug 097d055dbe Some more tweaks to compound for User Status. (#5708)
* Add a plain list modifier to Compound.

* Move ElementTextFieldStyle into Compound and support more styles from the Figma

- More accurately reflects our Liquid Glass updates.
- Adds support for the .raised style.

* Update Element X snapshots.
2026-06-05 15:59:34 +01:00

28 lines
671 B
Swift

//
// Copyright 2025 Element Creations Ltd.
// Copyright 2023-2025 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
// Please see LICENSE files in the repository root for full details.
//
import Compound
import SwiftUI
struct TextFieldsScreen: View {
var body: some View {
ScreenContent(navigationTitle: "Text Fields") {
CompoundTextFieldStyle_Previews.states
}
}
}
struct TextFieldsScreen_Previews: PreviewProvider {
static var previews: some View {
NavigationStack {
TextFieldsScreen()
}
.previewLayout(.fixed(width: 375, height: 700))
}
}