From ec90b065a121253966b79cc9c7db5ace18b02cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?w=C5=AB=20y=C4=81ng?= Date: Tue, 6 Aug 2024 14:25:43 +0800 Subject: [PATCH] chore: update demo (#3037) --- src/button/_usage/props.json | 6 ------ src/upload/_example/image.tsx | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/button/_usage/props.json b/src/button/_usage/props.json index b281fda04e..3741667a7e 100644 --- a/src/button/_usage/props.json +++ b/src/button/_usage/props.json @@ -11,12 +11,6 @@ "defaultValue": false, "options": [] }, - { - "name": "ghost", - "type": "Boolean", - "defaultValue": false, - "options": [] - }, { "name": "loading", "type": "Boolean", diff --git a/src/upload/_example/image.tsx b/src/upload/_example/image.tsx index f8f2e00b79..b1e4bdee58 100644 --- a/src/upload/_example/image.tsx +++ b/src/upload/_example/image.tsx @@ -3,7 +3,7 @@ import { Upload, Space, MessagePlugin, Checkbox, Button } from 'tdesign-react'; import type { UploadFile, UploadProps } from 'tdesign-react'; // @ts-ignore -import { getFileUrlByFileRaw } from 'tdesign-react/_common/js/upload/utils'; +import { getFileUrlByFileRaw } from 'tdesign-react/es/_common/js/upload/utils'; export default function UploadExample() { const uploadRef1 = useRef(null);