Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
  • Loading branch information
joaovicdsantos and codacy-production[bot] authored Jul 31, 2023
1 parent 7014146 commit 3aaed01
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/yoga/src/Stepper/native/Dots.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,25 @@ const Dot = styled.View(
const Label = styled(Text.Bold)(
({
active,
secondary,
secondary,

Check failure on line 45 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
theme: {
yoga: {
components: { stepper },
},
},
}) => {
const state = secondary ? 'secondary' : 'active';
}) => {

Check failure on line 51 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
const state = secondary ? 'secondary' : 'active';

Check failure on line 52 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`

return css`
width: 95px;
margin-top: 10px;
margin-left: -40px;
color: ${active
? stepper.label.color[state]
: stepper.label.color.inactive};
return css`

Check failure on line 54 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Replace `··` with `····`
width: 95px;

Check failure on line 55 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
margin-top: 10px;

Check failure on line 56 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
margin-left: -40px;

Check failure on line 57 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Replace `····` with `······`
color: ${active

Check failure on line 58 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
? stepper.label.color[state]

Check failure on line 59 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Replace `······` with `········`
: stepper.label.color.inactive};

Check failure on line 60 in packages/yoga/src/Stepper/native/Dots.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Insert `··`
font-size: ${stepper.label.font.size}px;
text-align: center;
`;
text-align: center;
`;
},
);

Expand Down

0 comments on commit 3aaed01

Please sign in to comment.