This commit is contained in:
jialin
2024-05-14 15:23:56 +08:00
commit 72a53424fa
59 changed files with 13511 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
.title {
margin: 0 auto;
font-weight: 200;
}
+23
View File
@@ -0,0 +1,23 @@
import { Layout, Row, Typography } from 'antd';
import React from 'react';
import styles from './Guide.less';
interface Props {
name: string;
}
// 脚手架示例组件
const Guide: React.FC<Props> = (props) => {
const { name } = props;
return (
<Layout>
<Row>
<Typography.Title level={3} className={styles.title}>
使 <strong>{name}</strong>
</Typography.Title>
</Row>
</Layout>
);
};
export default Guide;
+2
View File
@@ -0,0 +1,2 @@
import Guide from './Guide';
export default Guide;