mirror of
https://github.com/zhigang1992/react-native-paper.git
synced 2026-06-11 08:13:29 +08:00
fix: vertically center label on iOS
This commit is contained in:
@@ -260,6 +260,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
text: {
|
||||
height: 24,
|
||||
lineHeight: 24,
|
||||
textAlignVertical: 'center',
|
||||
marginVertical: 4,
|
||||
},
|
||||
|
||||
@@ -95,6 +95,7 @@ exports[`renders chip with icon 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"height": 24,
|
||||
"lineHeight": 24,
|
||||
"marginVertical": 4,
|
||||
"textAlignVertical": "center",
|
||||
},
|
||||
@@ -196,6 +197,7 @@ exports[`renders chip with onPress 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"height": 24,
|
||||
"lineHeight": 24,
|
||||
"marginVertical": 4,
|
||||
"textAlignVertical": "center",
|
||||
},
|
||||
@@ -332,6 +334,7 @@ exports[`renders deletable chip 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"height": 24,
|
||||
"lineHeight": 24,
|
||||
"marginVertical": 4,
|
||||
"textAlignVertical": "center",
|
||||
},
|
||||
@@ -433,6 +436,7 @@ exports[`renders outlined disabled chip 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"height": 24,
|
||||
"lineHeight": 24,
|
||||
"marginVertical": 4,
|
||||
"textAlignVertical": "center",
|
||||
},
|
||||
@@ -569,6 +573,7 @@ exports[`renders selected chip 1`] = `
|
||||
Array [
|
||||
Object {
|
||||
"height": 24,
|
||||
"lineHeight": 24,
|
||||
"marginVertical": 4,
|
||||
"textAlignVertical": "center",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user