Skip to content

Commit

Permalink
Fixes for Code UI
Browse files Browse the repository at this point in the history
  • Loading branch information
theankurkedia committed Jan 7, 2021
1 parent faea938 commit 5ede1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/composites/Code/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react';
import { Platform } from 'react-native';
import styled from 'styled-components/native';
import { Text } from '../../primitives';
import Box from '../../primitives/Box';
import type { ICodeProps } from './props';
import { usePropsConfig } from '../../../hooks';

const StyledCode = styled(Text)<ICodeProps>({});
const StyledCode = styled(Box)<ICodeProps>({});

const Code = ({ style, ...props }: ICodeProps) => {
let newProps = usePropsConfig('Code', props);
Expand Down

0 comments on commit 5ede1a5

Please sign in to comment.