diff --git a/src/text.js b/src/text.js index 80280c9..3fb9337 100644 --- a/src/text.js +++ b/src/text.js @@ -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<*> => ( {children}