Skip to content

Commit

Permalink
fixup webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Yang committed Apr 10, 2020
1 parent 9d470b4 commit 95971d7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ const Text = styled.div`
background-clip: text;
-webkit-background-clip: text;
text-fill-color: transparent;
-webkit-text-fill-color: transparent;
`;

export default ({
children,
color,
position,
}: Props): React.Element<*> => (
export default ({ children, color, position }: Props): React.Element<*> => (
<Text position={position} color={color}>
{children}
</Text>
Expand Down

0 comments on commit 95971d7

Please sign in to comment.