Fork me on GitHub

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

Coding Poineer

摘要: 统一导入导出:可以将统一目录下的多个可导出文件统一导出 在需要导入的地方可通过解构导入即可 常见导出结构 // xxx.js export const Aa = "a" export const Bb = 111 export default = [1,2,3] 相当于 // import {} f 阅读全文
posted @ 2021-08-03 21:00 365/24/60 阅读(5608) 评论(0) 推荐(0) 编辑
摘要: antd Paragraph可以提供展开的功能,以下在其基础封装一个展开后可以收起的组件 import React, { ReactNode, useState, useEffect } from 'react'; import { Typography, Tooltip } from 'antd' 阅读全文
posted @ 2021-08-03 18:55 365/24/60 阅读(1336) 评论(0) 推荐(0) 编辑