amotify 0.0.25 → 0.0.26

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.
package/@types/amot.tsx CHANGED
@@ -1,4 +1,5 @@
1
1
  import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
2
+ import { IconDefinition } from "@fortawesome/fontawesome-common-types";
2
3
  import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core';
3
4
 
4
5
  import React from 'react';
@@ -149,7 +150,7 @@ declare global {
149
150
  namespace FAI {
150
151
  type Method = React.FC<FAIParams> & Shortcuts;
151
152
  type FAIParams = amotifyBasicElement & {
152
- icon: FontawesomeCore.IconProp
153
+ icon: FontawesomeCore.IconProp | IconDefinition
153
154
  iconParams?: Omit<FontAwesomeIconProps,'icon'>
154
155
  };
155
156
  type Shortcuts = {