Skip to content

Commit 4582816

Browse files
committed
Update: Change description type from JSX.Element to ReactNode in FeatureItem
1 parent 8f7542f commit 4582816

File tree

1 file changed

+2
-1
lines changed
  • website/src/components/HomepageFeatures

1 file changed

+2
-1
lines changed

website/src/components/HomepageFeatures/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import clsx from 'clsx';
2+
import type {ReactNode} from 'react';
23
import Heading from '@theme/Heading';
34
import styles from './styles.module.css';
45

56
type FeatureItem = {
67
title: string;
78
Svg: React.ComponentType<React.ComponentProps<'svg'>>;
8-
description: JSX.Element;
9+
description: ReactNode;
910
};
1011

1112
const FeatureList: FeatureItem[] = [

0 commit comments

Comments
 (0)