问题标签 [rsuite]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
reactjs - 如何在 Next.js 中使用带有顺风 css 的 React Suite?
描述
我想使用 React Suite 和 tailwind,所以我按照文档中的安装说明安装了 tailwind,它工作正常,但是当我安装 React Suite 并在 next.config.js 文件中添加一些配置时,tailwind 不再工作,并且 React套件工作人员很好,我认为问题出在这个文件我希望你能帮助我解决这个问题
代码
_app.js
尾风配置
postcss.config
全局的.css
next.config.js
我认为问题出在这里
包.json
github - 如何从 github 存储库安装 npm 依赖项(rsuite)
我正在使用下一个 js 11。
我想编辑一个 rsuite 组件,所以我知道我需要克隆依赖项https://github.com/rsuite/rsuite.git,并在我的分支中进行更改然后安装它。
问题是虽然我可以安装依赖项(“rsuite”:“MYUSER/rsuite”),但并非所有文件都已安装。
然后直接从rsuite测试安装,(“rsuite”:“rsuite/rsuite”)也探测,“rsuite”:“git https://github.com/rsuite/rsuite.git”等方式,(npm install https: //github.com/rsuite/rsuite.git ) 和 (yarn add https://github.com/rsuite/rsuite.git ),但是没有case,不是所有东西都安装好了,只有一些文件。
有谁知道他们怎么做?
非常感谢。
图片:
reactjs - 使用 rsuite 库时输入值显示未定义(读取“值”)
基本上是rsuite@4.10.2版本
我也提供了错误图像,只需看看这个 在此处输入图像描述
reactjs - Rsuite TreePicker 以编程方式清除选择 - ReactJS
我正在使用rsuite包中的 TreePicker和CheckTreePicker。当某些道具值更改时,我想以编程方式清除树选择器的选择。我能够在 changes 的useEffect
when 值中触发事件selectItem
,并且我想在它之后清除 treePicker 的所有当前选择。
感谢您的帮助。谢谢你。
reactjs - React rsuite重置选择框值
我有rsuite SelectBox,我想从外部重置它的值。当我将它设置为null
orundefined
或空字符串时,它不起作用。
我阅读了源代码,我觉得它是设计使然,只有当您将它用作表单的一部分时。但这使事情变得复杂。您是否看到任何可能的方法来重置组合值而不创建表单?
https://codesandbox.io/s/select-picker-types-forked-ivjn8?file=/src/App.tsx:164-477
谢谢
javascript - rsuite 表渲染动态列和行
我想根据传递的数据动态呈现 rsuite 表中的表列和行,而不对列和数据进行硬编码。
从'rsuite-table'导入{表,列,HeaderCell,单元格,行数据类型};导入“rsuite-table/dist/css/rsuite-table.css”
从“反应”导入反应
导出默认函数 App() {
}
javascript - 如何在 rsuite 中使用顺风
谁能告诉,我们如何在 rsuite 中使用顺风?没有覆盖。我想用 rsuite 使用顺风,当我使用 rsuite 时,我无法顺风。谁能告诉我如何解决这个问题?
reactjs - 如何解决“派送”>' 不可分配给类型 '(value: DateRange | null, event: SyntheticEvent) => 无效'
在 Rsuite DateRangePicker 中,会出现一个错误,例如 Type 'Dispatch<SetStateAction<Date[]>>' is not assignable to type '(value: DateRange | null, event: SyntheticEvent<Element, Event>) => void'。参数 'value' 和 'value' 的类型不兼容。键入“日期范围 | null' 不能分配给类型 'SetStateAction<Date[]>'。类型 'null' 不可分配给类型 'SetStateAction<Date[]>'.ts(2322)
谁能告诉我,我们该如何解决这个问题?