We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f63cbe5 commit 1f3b5f1Copy full SHA for 1f3b5f1
src/Anchor/Anchor.tsx
@@ -1,4 +1,5 @@
1
import React, { forwardRef } from 'react';
2
+import { CommonStyledProps } from 'src/types';
3
4
import styled from 'styled-components';
5
@@ -11,9 +12,10 @@ const StyledAnchor = styled.a`
11
12
}
13
`;
14
-interface AnchorProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
15
+type AnchorProps = {
16
children: React.ReactNode;
-}
17
+} & React.AnchorHTMLAttributes<HTMLAnchorElement> &
18
+ CommonStyledProps;
19
20
const Anchor = forwardRef<HTMLAnchorElement, AnchorProps>(function Anchor(
21
{ children, ...otherProps }: AnchorProps,
0 commit comments