Skip to content

Commit

Permalink
fix: fix lint and types
Browse files Browse the repository at this point in the history
  • Loading branch information
monteri committed Aug 18, 2023
1 parent b0102a6 commit 15d08f6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/ChipCarousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@ import React, { ForwardedRef } from 'react';
import PropTypes from 'prop-types';
import { useIntl } from 'react-intl';
import classNames from 'classnames';
// @ts-ignore
import { OverflowScroll, OverflowScrollContext } from '../OverflowScroll';
// @ts-ignore
import IconButton from '../IconButton';
// @ts-ignore
import Icon from '../Icon';
// @ts-ignore
import { ArrowForward, ArrowBack } from '../../icons';
Expand Down
2 changes: 1 addition & 1 deletion src/IconButton/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type IconButtonVariants = 'primary' | 'secondary' | 'success' | 'warning'

export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
className?: string;
iconAs?: keyof JSX.IntrinsicElements;
iconAs?: React.ReactNode;
src?: React.ReactElement;
alt: string;
invertColors?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/Modal/ModalDialogFooter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { ModalDialogBodyProps } from './ModalDialogBody';

export interface ModalDialogFooterProps extends ModalDialogBodyProps {}

export const ModalDialogFooter = React.FC<ModalDialogBodyProps>;
export const ModalDialogFooter: React.FC<ModalDialogBodyProps>;

export default ModalDialogFooter;
2 changes: 1 addition & 1 deletion src/Modal/ModalDialogHeader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { ModalDialogBodyProps } from './ModalDialogBody';

export interface ModalDialogHeaderProps extends ModalDialogBodyProps {}

export const ModalDialogHeader = React.FC<ModalDialogHeaderProps>;
export const ModalDialogHeader: React.FC<ModalDialogHeaderProps>;

export default ModalDialogHeader;
2 changes: 1 addition & 1 deletion src/Modal/ModalDialogHeroContent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { ModalDialogBodyProps } from './ModalDialogBody';

export interface ModalDialogHeaderProps extends ModalDialogBodyProps {}

export const ModalDialogHeader = React.FC<ModalDialogHeaderProps>;
export const ModalDialogHeader: React.FC<ModalDialogHeaderProps>;

export default ModalDialogHeader;
2 changes: 1 addition & 1 deletion src/Modal/ModalDialogTitle.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { ModalDialogBodyProps } from './ModalDialogBody';

export interface ModalDialogTitleProps extends ModalDialogBodyProps {}

export const ModalDialogTitle = React.FC<ModalDialogTitleProps>;
export const ModalDialogTitle: React.FC<ModalDialogTitleProps>;

export default ModalDialogTitle;
2 changes: 2 additions & 0 deletions src/OverflowScroll/OverflowScroll.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export interface OverflowScrollProps {
disableOpacityMasks?: boolean;
onScrollPrevious?: () => void;
onScrollNext?: () => void;
offset?: number | string;
offsetType?: 'percentage' | 'fixed';
}

declare const OverflowScroll: React.FC<OverflowScrollProps> & {
Expand Down

0 comments on commit 15d08f6

Please sign in to comment.