We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bac7a1 commit 87944bfCopy full SHA for 87944bf
src/components/navigation/card/components/CardGroupItem.tsx
@@ -1,7 +1,8 @@
1
import classNames from 'classnames';
2
-import { Col } from '#components/layout';
+import { type FC } from 'react';
3
+import { Col, type ColProps } from '#components/layout';
4
-export const CardGroupItem: typeof Col = ({ className, ...rest }) => (
5
+export const CardGroupItem: FC<ColProps> = ({ className, ...rest }) => (
6
<Col className={classNames('nhsuk-card-group__item', className)} {...rest} />
7
);
8
0 commit comments