Skip to content

Commit

Permalink
feat: update box and text to new system
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioAugustoR committed Jul 3, 2024
1 parent cac358d commit 41cb869
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/yoga/src/Box/native/Box.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from 'styled-components';
import { system } from '@gympass/yoga-system';
import { newSystem } from '@gympass/yoga-system';

const Box = styled.View(system);
const Box = styled.View(newSystem);

export default Box;
4 changes: 2 additions & 2 deletions packages/yoga/src/Text/native/Text.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import styled from 'styled-components';
import { oneOf, bool } from 'prop-types';
import { system } from '@gympass/yoga-system';
import { newSystem } from '@gympass/yoga-system';
import textStyle from '../textStyle';
import { deprecated } from '../../shared';

const styledText = type => styled.Text`
${textStyle(type)}
${system}
${newSystem}
`;

const Display1 = styledText('display1');
Expand Down

0 comments on commit 41cb869

Please sign in to comment.