TextEditor
A view that can display and edit long-form text.
Example​
- swiftui-react-native
- SwiftUI
- React Native
const bio = useBinding('');
<TextEditor placeholder="Bio" text={bio} />
@State var bio: String = ""
TextEditor("Bio", text: $bio)
const [bio, setBio] = useState('');
<TextInput
placeholder="Bio"
multiline={true}
value={name}
onChangeText={(newBio) => setBio(newBio)}
/>
Props​
TextEditor inherits all TextField props.