MCPcopy Create free account
hub / github.com/Paraboly/react-native-input-bar / _textInputStyle

Function _textInputStyle

lib/InputBar.style.ts:30–46  ·  view source on GitHub ↗
(
  height: number,
  width: number,
  minHeight: number,
  color: string,
  multiline: boolean,
)

Source from the content-addressed store, hash-verified

28});
29
30export 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
48export default StyleSheet.create<Style>({
49 iconContainer: {

Callers 1

renderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected