Skip to content

Commit

Permalink
Tweak FilledTextInput spacing
Browse files Browse the repository at this point in the history
Also add more test cases to InputTester
  • Loading branch information
paullinator committed Jan 18, 2024
1 parent 93c0faf commit 75f5dfa
Show file tree
Hide file tree
Showing 9 changed files with 1,065 additions and 971 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`FilledTextInput should render with some props 1`] = `
<React.Fragment>
<View
style={
{
"alignItems": undefined,
"flex": undefined,
"flexDirection": "column",
"justifyContent": undefined,
"marginBottom": 0,
"marginLeft": 0,
"marginRight": 0,
"marginTop": 0,
}
}
>
<TouchableWithoutFeedback
accessible={false}
onPress={[Function]}
Expand All @@ -24,12 +37,6 @@ exports[`FilledTextInput should render with some props 1`] = `
"value": 1,
}
}
spaceProps={
{
"keyboardType": "default",
"returnKeyType": "done",
}
}
>
<StyledComponent(View)
scale={
Expand Down Expand Up @@ -163,14 +170,14 @@ exports[`FilledTextInput should render with some props 1`] = `
</StyledComponent(View)>
</TouchableWithoutFeedback>
<StyledComponent(View)>
<StyledComponent(WithTheme(EdgeTextComponent))
<StyledComponent(Text)
danger={true}
>
string
</StyledComponent(WithTheme(EdgeTextComponent))>
<StyledComponent(WithTheme(EdgeTextComponent))>
</StyledComponent(Text)>
<StyledComponent(Text)>
5
</StyledComponent(WithTheme(EdgeTextComponent))>
</StyledComponent(Text)>
</StyledComponent(View)>
</React.Fragment>
</View>
`;
Loading

0 comments on commit 75f5dfa

Please sign in to comment.