feat: init

This commit is contained in:
landaiqing
2024-07-10 10:15:16 +08:00
commit cba745729f
45 changed files with 11140 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
.title {
margin: 0 auto;
font-weight: 200;
}

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;

View File

@@ -0,0 +1,2 @@
import Guide from './Guide';
export default Guide;