-
I am getting the below error while trying to migrate from react-awesome-query-builder to @react-awesome-query-builder/antd Here is the config I have used import { AntdConfig } from '@react-awesome-query-builder/antd'; const InitialConfig = AntdConfig; const conjunctions: Conjunctions = { const operators: Operators = { const widgets: Widgets = { const types: Types = { const localeSettings: LocaleSettings = { const settings: Settings = { valueSourcesInfo: { // renderField: (props) => <FieldCascader {...props} />, const funcs: Funcs = {}; const fields: Fields = {}; const config: Config = { export default config; Any help to resolve this will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please try -import en_US from 'antd/es/locale/en_US';
+import en_US from 'antd/lib/locale/en_US'; |
Beta Was this translation helpful? Give feedback.
-
Please use 6.1.1 |
Beta Was this translation helpful? Give feedback.
Please use 6.1.1