Skip to content

Commit 87944bf

Browse files
Fix ESLint TypeScript compiler issues
1 parent 4bac7a1 commit 87944bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/navigation/card/components/CardGroupItem.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import classNames from 'classnames';
2-
import { Col } from '#components/layout';
2+
import { type FC } from 'react';
3+
import { Col, type ColProps } from '#components/layout';
34

4-
export const CardGroupItem: typeof Col = ({ className, ...rest }) => (
5+
export const CardGroupItem: FC<ColProps> = ({ className, ...rest }) => (
56
<Col className={classNames('nhsuk-card-group__item', className)} {...rest} />
67
);
78

0 commit comments

Comments
 (0)