@amboss/design-system
Advanced tools
Comparing version 0.1.18 to 0.1.19
import React from "react"; | ||
declare type AnchorProps = { | ||
as?: "a"; | ||
href: string; | ||
} & ({ | ||
target: "_blank"; | ||
rel: "noopener noreferrer"; | ||
} | { | ||
target?: undefined; | ||
rel?: undefined; | ||
}); | ||
declare type LinkProps = Record<string, unknown> & { | ||
children: string; | ||
href?: string; | ||
target?: string; | ||
rel?: string; | ||
secondary?: boolean; | ||
/** Here you can provide your custom component */ | ||
as?: "a" | React.ComponentType; | ||
}; | ||
export declare function Link({ children, secondary, target, rel, href, as, ...rest }: LinkProps): React.ReactElement; | ||
size?: "xs" | "s" | "m"; | ||
weight?: "normal" | "bold"; | ||
"data-e2e-test-id"?: string; | ||
} & AnchorProps; | ||
export declare function Link({ children, secondary, size, weight, as, target, rel, href, ...rest }: LinkProps): React.ReactElement; | ||
export {}; |
@@ -0,1 +1,7 @@ | ||
# v0.2.1 (Mon Mar 01 2021) | ||
--- | ||
# v0.1.16 (Fri Feb 12 2021) | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "@amboss/design-system", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "the design system for AMBOSS products", | ||
@@ -5,0 +5,0 @@ "author": "Bagrat Gobedashvili", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
550195
1166
0