Function
_textInputStyle
(
height: number,
width: number,
minHeight: number,
color: string,
multiline: boolean,
)
Source from the content-addressed store, hash-verified
| 28 | }); |
| 29 | |
| 30 | export const _textInputStyle = ( |
| 31 | height: number, |
| 32 | width: number, |
| 33 | minHeight: number, |
| 34 | color: string, |
| 35 | multiline: boolean, |
| 36 | ): TextStyle => ({ |
| 37 | color, |
| 38 | height, |
| 39 | minHeight, |
| 40 | fontSize: 16, |
| 41 | marginLeft: 12, |
| 42 | fontWeight: "bold", |
| 43 | width: width * 0.75, |
| 44 | paddingTop: multiline ? 15 : undefined, |
| 45 | paddingBottom: multiline ? 15 : undefined, |
| 46 | }); |
| 47 | |
| 48 | export default StyleSheet.create<Style>({ |
| 49 | iconContainer: { |
Tested by
no test coverage detected