Skip to content

Commit

Permalink
Merge pull request #1784 from SpareBank1/develop_fix-types
Browse files Browse the repository at this point in the history
Develop fix types
  • Loading branch information
pethel authored Feb 13, 2024
2 parents 73d1ca2 + e7e11bd commit ea43c69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/ffe-buttons-react/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export type BaseButtonProps = {
ariaLoadingMessage?: string;
disabled?: boolean;
isLoading?: boolean;
leftIcon?: HTMLElement | React.ElementType;
rightIcon?: HTMLElement | React.ElementType;
leftIcon?: React.ReactNode;
rightIcon?: React.ReactNode;
} & MinimalBaseButtonProps;

type ActionButtonProps = BaseButtonProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/ffe-icons-react/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export interface IconProps {

declare class Icon extends React.Component<IconProps, any> {}

export default Icon;
export { Icon };

0 comments on commit ea43c69

Please sign in to comment.