@selfdecode/sd-component-library 4.0.46-test → 4.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LinkProps as RebassLinkProps } from "rebass";
|
|
2
|
-
export interface LinkProps extends RebassLinkProps {
|
|
3
|
+
export interface LinkProps extends Omit<RebassLinkProps, "title"> {
|
|
3
4
|
/**
|
|
4
5
|
* The text of the link
|
|
5
6
|
*/
|
|
6
|
-
title: string;
|
|
7
|
+
title: string | React.ReactNode;
|
|
7
8
|
/**
|
|
8
9
|
* The url the link should redirect to
|
|
9
10
|
*/
|