@selfdecode/sd-component-library 4.0.66 → 4.0.68

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,13 +1,13 @@
1
1
  import { CSSProperties, ReactNode } from "react";
2
2
  import { History } from "history";
3
- import { SxProps } from "rebass";
3
+ import { LinkProps, SxProps } from "rebass";
4
4
  import { LoadingSpinnerProps as LoadingIconProps } from "../../animations/loading-spinner/interfaces";
5
5
  import { BaseComponentProps } from "../../interfaces";
6
6
  /**
7
7
  * Defines the button component's properties. You cannot pass
8
8
  * both onClick and link props at the same time
9
9
  */
10
- export interface ButtonProps extends BaseComponentProps {
10
+ export interface ButtonProps extends BaseComponentProps, Pick<LinkProps, "target" | "rel"> {
11
11
  /**
12
12
  * The location the button should point to if it is a link.
13
13
  * You should only pass external links, not links that should