merge main in
what are you doing there? go away fix recognizer to clear selected text on tap remove jank/hacks update readme remove android stuff (?) don't remove clipped subview on android for selection enable selection of alt text add numberOfLines properly apply container styles handle both selection and expand press events in alt text far better implementation revert link changes revert lightbox changes for now fix file name
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
struct TextStyle: Decodable {
|
||||
import ExpoModulesCore
|
||||
|
||||
struct TextStyle: Record {
|
||||
@Field
|
||||
var color: String? = "black"
|
||||
@Field
|
||||
var fontSize: CGFloat? = 12
|
||||
@Field
|
||||
var fontStyle: String? = "normal"
|
||||
@Field
|
||||
var fontWeight: FontWeight?
|
||||
@Field
|
||||
var letterSpacing: Double?
|
||||
@Field
|
||||
var textAlign: String? = "auto"
|
||||
@Field
|
||||
var lineHeight: Double?
|
||||
@Field
|
||||
var textDecorationLine: TextDecorationLine?
|
||||
@Field
|
||||
var flex: Int?
|
||||
@Field
|
||||
var pointerEvents: String?
|
||||
}
|
||||
|
||||
enum FontWeight: String, Decodable {
|
||||
enum FontWeight: String, Enumerable {
|
||||
case bold
|
||||
case normal
|
||||
case one = "100"
|
||||
@@ -51,10 +64,9 @@ enum FontWeight: String, Decodable {
|
||||
}
|
||||
}
|
||||
|
||||
enum TextDecorationLine: String, Decodable {
|
||||
enum TextDecorationLine: String, Enumerable {
|
||||
case underline
|
||||
case lineThrough = "line-through"
|
||||
case underlineLineThrough = "underline line-through"
|
||||
|
||||
case normal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user