Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import withTrackEvents from "./article-link-tracking-events";
const ArticleLink = ({ children, target, url, onPress, dropCap }) => (
{children}
);
ArticleLink.defaultProps = {
...Link.defaultProps,
onPress: () => {},
dropCap: false
};
ArticleLink.propTypes = {
...Link.propTypes,
dropCap: PropTypes.bool
};
export default withTrackEvents(ArticleLink);
margin-top: 0;
`,
medium: `
font-size: ${fontSizes.body}px;
line-height: 30px;
`
};
const ArticleLink = ({ children, target, url }) => (
{children}
);
ArticleLink.defaultProps = {
...Link.defaultProps
};
ArticleLink.propTypes = {
...Link.propTypes
};
export default ArticleLink;