Skip to content

Commit

Permalink
chore(): import types from antd/es instead of antd/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Nov 12, 2024
1 parent 9464105 commit 86eb68e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bricks/form/src/color-picker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createDecorators, EventEmitter } from "@next-core/element";
import { wrapBrick } from "@next-core/react-element";
import "@next-core/theme";
import { ColorPicker, theme, ConfigProvider } from "antd";
import { ColorPickerProps, Color } from "antd/lib/color-picker";
import type { ColorPickerProps, Color } from "antd/es/color-picker";
import { StyleProvider, createCache } from "@ant-design/cssinjs";
import { FormItemElementBase } from "@next-shared/form";
import type { FormItem, FormItemProps } from "../form-item/index.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useEffect, useMemo, useState } from "react";
import { ColorPicker } from "antd";
import { ColorPickerProps } from "antd/lib/color-picker";
import type { ColorPickerProps } from "antd/es/color-picker";
import {
palettePresets,
systemPresetColorsMap,
Expand Down

0 comments on commit 86eb68e

Please sign in to comment.