@@ -14,8 +14,8 @@ const FeatureList: FeatureItem[] = [
1414 Svg : require ( '@site/static/img/undraw_code_typing.svg' ) . default ,
1515 description : (
1616 < >
17- It provides models in the DOT language.
18- TypeScript type definitions are also provided for attributes and even attribute types.
17+ It provides models in the DOT language. TypeScript type definitions are
18+ also provided for attributes and even attribute types.
1919 </ >
2020 ) ,
2121 } ,
@@ -24,8 +24,9 @@ const FeatureList: FeatureItem[] = [
2424 Svg : require ( '@site/static/img/undraw_omega.svg' ) . default ,
2525 description : (
2626 < >
27- Designed to be object-oriented, it provides APIs that can be adapted to both imperative and declarative APIs.
28- You can choose the paradigm that best fits your project.
27+ Designed to be object-oriented, it provides APIs that can be adapted to
28+ both imperative and declarative APIs. You can choose the paradigm that
29+ best fits your project.
2930 </ >
3031 ) ,
3132 } ,
@@ -34,14 +35,16 @@ const FeatureList: FeatureItem[] = [
3435 Svg : require ( '@site/static/img/undraw_bookshelves.svg' ) . default ,
3536 description : (
3637 < >
37- The library is split into multiple packages, each serving a specific purpose.
38- This modular design allows users to pick and choose the functionality they need, resulting in improved maintainability and flexibility.
38+ The library is split into multiple packages, each serving a specific
39+ purpose. This modular design allows users to pick and choose the
40+ functionality they need, resulting in improved maintainability and
41+ flexibility.
3942 </ >
4043 ) ,
4144 } ,
4245] ;
4346
44- function Feature ( { title, Svg, description} : FeatureItem ) {
47+ function Feature ( { title, Svg, description } : FeatureItem ) {
4548 return (
4649 < div className = { clsx ( 'col col--4' ) } >
4750 < div className = "text--center" >
@@ -60,8 +63,8 @@ export default function HomepageFeatures(): JSX.Element {
6063 < section className = { styles . features } >
6164 < div className = "container" >
6265 < div className = "row" >
63- { FeatureList . map ( ( props , idx ) => (
64- < Feature key = { idx } { ...props } />
66+ { FeatureList . map ( ( props ) => (
67+ < Feature key = { props . title } { ...props } />
6568 ) ) }
6669 </ div >
6770 </ div >
0 commit comments