@apolitical/component-library 4.1.10-ac.0 → 4.1.10-ac.2

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,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface Props {
3
- url: string;
3
+ pathname: string;
4
4
  }
5
5
  declare const ShareLink: React.FC<Props>;
6
6
  export default ShareLink;
@@ -33,6 +33,10 @@ export interface ButtonPropsType {
33
33
  onBlur?: () => void;
34
34
  /** An optional function to call on keydown */
35
35
  onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
36
+ /** An optional function to call on mouse over */
37
+ onMouseOver?: (e: React.MouseEvent<HTMLElement>) => void;
38
+ /** An optional function to call on mouse out */
39
+ onMouseOut?: (e: React.MouseEvent<HTMLElement>) => void;
36
40
  /** Additional classes to add to the button */
37
41
  className?: string;
38
42
  /** `disabled` is usually true or false, but we will want nuance in some places, for example the ability