hirohe
hirohe
i am using React v16.4, react-ace v6.1.2 1. setup with `create-react-app` 2. and test with code below, setting AceEditor with `maxLines` and `wrapEnabled` ```jsx class App extends React.Component { render()...
感谢提供的全局自定义的示例 我会尝试全局和局部css样式搭配的方式看看
我昨天试了`UUIProvider`来全局地给组件注入样式类,我看到`UUIProviderCustomize`可以配置各个组件的`extendClassName` 所以我想是否可以通过UUIProvider搭配tailwind css来自定样式 配置过程中发现extendClassName是不能区分组件各种styling的,即配置的tailwind样式类会应用到组件所有styling,比如Button组件区分不了primary和text的样式,解决方法应该还是使用全局的样式给`TYPE_text`等这些不同styling做自定义吧 ```ts // src/App.tsx const UUICustomize: UUIProviderCustomize = { Button: { Root: { extendClassName: 'bg-orange text-white rounded-lg shadow-md py-2 px-4' } } } // src/pages/AuthPage.tsx const AuthPage:...
currently vite is [support](https://vitejs.dev/guide/features.html#web-workers) directly import web workers
或许是像`react-window`的``一样,提供`itemSize`属性可以动态获取具体条目的高度,`itemSize`接受函数 [VariableSizeList API](https://react-window.vercel.app/#/api/VariableSizeList)
I think the root cause problem is when "overscroll" the side list, will trigger schema page scroll. so for now, when hover in side list, added noscroll to prevent schema...
https://github.com/mui-org/material-ui/issues/20861 `StylesProvider`的`disableGeneration`可以决定是否生成样式 但是这样还需要额外地导入material-ui的样式