import React from 'react';
import { Link } from 'react-router-dom';

/**
 * Prevents the `newTab` prop from being passed to Link,
 * which emits errors when it receives props it doesn't expect.
 */
export default ({ newTab, children, ...rest }) => (
  <Link {...rest}>{children}</Link>
);

@@ -90,16 +90,35 @@
 %60newTab%60
+ or %60appearFocused%60
  prop fr
@@ -235,16 +235,31 @@
  newTab,
+ appearFocused,
  childre

exclude appearFocused prop from html a tag