Browse Source

提交:主页修改

唐渝林 7 months ago
parent
commit
75965add7a
2 changed files with 5 additions and 5 deletions
  1. 5 5
      src/component/card/index.tsx
  2. BIN
      src/img/zlsoft.png

+ 5 - 5
src/component/card/index.tsx

@@ -50,7 +50,7 @@ const useStyles = makeStyles({
 });
 
 
-const CardExample = (props: CardProps) => {
+const CardExample = (props: any) => {
   const styles = useStyles();
 
   return (
@@ -73,7 +73,7 @@ const CardExample = (props: CardProps) => {
         }
         header={
           <Body1>
-            <b>吴瑞强</b>
+            <b>{props.name}</b>
           </Body1>
         }
         description={<Caption1>新技术工作室</Caption1>}
@@ -99,15 +99,15 @@ export const FocusMode = () => {
   return (
     <div className={styles.main}>
       <section>
-        <CardExample />
+        <CardExample name="吴瑞强" />
       </section>
 
       <section>
-        <CardExample focusMode="no-tab" />
+        <CardExample focusMode="no-tab" name="杨东明"/>
       </section>
 
       <section>
-        <CardExample focusMode="tab-exit" />
+        <CardExample focusMode="tab-exit" name="唐渝林" />
       </section>
     </div>
   );

BIN
src/img/zlsoft.png