alienzhangyw

Results 8 issues of alienzhangyw

比如react、tinycolor2这些代码里有导入的包。目前都是放在devDependencies里,那么我们使用dynamic-antd-theme的时候包管理器并不会去下载那些包,导致找不到文件或定义。

我想通过设置自定义环境变量的方式,在编译时全局替换多个md文件中的一些文本,这个要能否实现? 我在讨论里提出了一些思路。 _Originally posted by @alienzhangyw in https://github.com/umijs/dumi/discussions/1985_

当前导入方式会把整个lodash整体引入(未压缩是500多kb) https://github.com/WebEngineerLi/react-captcha/blob/ffc2d126635fc5b66280198f2ad5fd8627bd168c/src/captcha.tsx#L4 最好改写成 `import isFunction from 'lodash/isFunction'`,按需导入。 或者直接使用原生的`if(onChange && typeof onChange === 'function')`进行判断。 另外styled-components我觉得也可以直接用行内样式代替。 https://github.com/WebEngineerLi/react-captcha/blob/ffc2d126635fc5b66280198f2ad5fd8627bd168c/src/style.ts#L1-L5 为了一个样式去引入一个二十多kb的依赖得不偿失。

### 🐛 bug 描述 如题: ![image](https://github.com/arvinxx/dumi-theme-antd-style/assets/58874541/71acdad0-7603-4265-b458-b8d12fac1430) 我看代码里这个是硬编码的 https://github.com/arvinxx/dumi-theme-antd-style/blob/96a8e002e2ffaae2336da9b7544d7e4ca1b4149c/src/components/Toc/index.tsx#L68 ### 📷 复现步骤 官网切换到英文、手机版 ### 🏞 期望结果 英文的菜单标题应该是Menu ### 💻 复现代码 https://dumi-theme-antd-style.arvinx.com/

### 🥰 需求描述 目前的主题不会在markdown末尾显示最新更新时间,设置了dumi的lastUpdated: true也不起作用。写API文档很需要展示这个。

### 🐛 bug 描述 比如createStyles里的responsive.tablet断点是992px,而useResposive().tablet是768px ### 📷 复现步骤 分别使用两种方式写样式,观察行为。 ### 🏞 期望结果 断点行为一致 ### 💻 复现代码 暂无 ### © 版本信息 - antd-style 版本: 3.5.0 - 浏览器环境 Edge 118 - 开发环境...

Can you add a click-to-sort function to table header colunms? Just like antd tables, we can customize a callback sorter.

**Is your feature request related to a problem? Please describe.** TatumSDK returns error when using getBalance with more than one Bitcoin address. **Describe the solution you'd like** Use [Get the...