@@ -5,14 +5,12 @@ import styles from './styles.module.css';
55
66type FeatureItem = {
77 title : string ;
8- Svg : React . ComponentType < React . ComponentProps < 'svg' > > ;
98 description : ReactNode ;
109} ;
1110
1211const FeatureList : FeatureItem [ ] = [
1312 {
1413 title : 'Easy to Use' ,
15- Svg : require ( '@site/static/img/undraw_docusaurus_mountain.svg' ) . default ,
1614 description : (
1715 < >
1816 Docusaurus was designed from the ground up to be easily installed and
@@ -22,7 +20,6 @@ const FeatureList: FeatureItem[] = [
2220 } ,
2321 {
2422 title : 'Focus on What Matters' ,
25- Svg : require ( '@site/static/img/undraw_docusaurus_tree.svg' ) . default ,
2623 description : (
2724 < >
2825 Docusaurus lets you focus on your docs, and we'll do the chores. Go
@@ -32,7 +29,6 @@ const FeatureList: FeatureItem[] = [
3229 } ,
3330 {
3431 title : 'Powered by React' ,
35- Svg : require ( '@site/static/img/undraw_docusaurus_react.svg' ) . default ,
3632 description : (
3733 < >
3834 Extend or customize your website layout by reusing React. Docusaurus can
@@ -42,12 +38,9 @@ const FeatureList: FeatureItem[] = [
4238 } ,
4339] ;
4440
45- function Feature ( { title, Svg , description} : FeatureItem ) {
41+ function Feature ( { title, description} : FeatureItem ) {
4642 return (
4743 < div className = { clsx ( 'col col--4' ) } >
48- < div className = "text--center" >
49- < Svg className = { styles . featureSvg } role = "img" />
50- </ div >
5144 < div className = "text--center padding-horiz--md" >
5245 < Heading as = "h3" > { title } </ Heading >
5346 < p > { description } </ p >
0 commit comments