1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
|
|