Skip to content

Commit

Permalink
fix: adds a default style prop to handle title overflow (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanguckenberger committed May 6, 2022
1 parent 809c73b commit be980a0
Show file tree
Hide file tree
Showing 17 changed files with 330 additions and 48 deletions.
Expand Up @@ -52,7 +52,13 @@ exports[`The ActionListFeatures component should render 1`] = `
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down Expand Up @@ -385,7 +391,13 @@ exports[`The ActionListFeatures component should render a button for onPressActi
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down Expand Up @@ -778,7 +790,13 @@ exports[`The ActionListFeatures component should render a loading state for isLo
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down Expand Up @@ -991,7 +1009,13 @@ exports[`The ActionListFeatures component should render with a subtitle 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -1338,7 +1362,13 @@ exports[`The ActionListFeatures component should render with a title 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
primary={true}
style={
Expand Down
Expand Up @@ -42,7 +42,13 @@ exports[`The ActionListFeatureConnected component should render 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -256,7 +262,13 @@ exports[`The ActionListFeatureConnected component should render a loading state
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down
Expand Up @@ -329,7 +329,13 @@ exports[`The CampaignItemListFeature component should render a loading state for
}
vertical={false}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
</View>
</View>
<View
Expand Down Expand Up @@ -623,7 +629,13 @@ exports[`The CampaignItemListFeature component should render a section title 1`]
}
vertical={false}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
primary={true}
style={
Expand Down Expand Up @@ -912,7 +924,13 @@ exports[`The CampaignItemListFeature component should render with a subtitle 1`]
}
vertical={false}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -328,7 +328,13 @@ exports[`import ConnectScreenConnected component renders ConnectScreenConnected
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -1394,7 +1400,13 @@ exports[`import ConnectScreenConnected component renders ConnectScreenConnected
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -33,7 +33,13 @@ exports[`The FollowingListConnected component should render with data 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -33,7 +33,13 @@ exports[`The RequestedFollowListConnected component should render with data 1`]
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -33,7 +33,13 @@ exports[`The SuggestedFollowListConnected component should render with data 1`]
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -611,7 +611,13 @@ exports[`The HeroListFeatures component should render a loading state for isLoad
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down Expand Up @@ -900,7 +906,13 @@ exports[`The HeroListFeatures component should render with a subtitle 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -1220,7 +1232,13 @@ exports[`The HeroListFeatures component should render with a title 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
primary={true}
style={
Expand Down
Expand Up @@ -27,7 +27,13 @@ exports[`The HeroListFeatureConnected component should render 1`] = `
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -422,7 +428,13 @@ exports[`The HeroListFeatureConnected component should render a loading state wh
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
style={
Object {
Expand Down Expand Up @@ -711,7 +723,13 @@ exports[`The HeroListFeatureConnected component should render without a hero car
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down Expand Up @@ -897,7 +915,13 @@ exports[`The HeroListFeatureConnected component should render without actions 1`
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down
Expand Up @@ -767,7 +767,13 @@ exports[`The HorizontalCardListFeature component should render a loading state f
}
}
>
<View />
<View
style={
Object {
"flexShrink": 1,
}
}
/>
<View
accessible={true}
focusable={true}
Expand Down Expand Up @@ -1828,7 +1834,13 @@ exports[`The HorizontalCardListFeature component should render a section title 1
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
primary={true}
style={
Expand Down Expand Up @@ -2602,7 +2614,13 @@ exports[`The HorizontalCardListFeature component should render with a section su
}
}
>
<View>
<View
style={
Object {
"flexShrink": 1,
}
}
>
<Text
secondary={true}
style={
Expand Down

0 comments on commit be980a0

Please sign in to comment.