diff --git a/packages/plugin-undo-redo/package.json b/packages/plugin-undo-redo/package.json index 2bacd62f1..9d6fd3972 100644 --- a/packages/plugin-undo-redo/package.json +++ b/packages/plugin-undo-redo/package.json @@ -24,6 +24,7 @@ "@ali/lowcode-editor-skeleton": "^0.8.33", "@ali/lowcode-types": "^0.8.11", "@ali/lowcode-utils": "^0.8.12", + "@ali/ve-icons": "^4.1.14", "react": "^16.8.1", "react-dom": "^16.8.1" }, diff --git a/packages/plugin-undo-redo/src/index.scss b/packages/plugin-undo-redo/src/index.scss index e69de29bb..1b1d2a075 100644 --- a/packages/plugin-undo-redo/src/index.scss +++ b/packages/plugin-undo-redo/src/index.scss @@ -0,0 +1,8 @@ +.lowcode-plugin-undo-redo{ + .next-btn-ghost.next-btn-dark{ + color: #3c3c3c; + } + .next-btn-ghost.next-btn-dark[disabled]{ + color: #ccc; + } +} \ No newline at end of file diff --git a/packages/plugin-undo-redo/src/index.tsx b/packages/plugin-undo-redo/src/index.tsx index 891b1e7b9..4439e55d6 100644 --- a/packages/plugin-undo-redo/src/index.tsx +++ b/packages/plugin-undo-redo/src/index.tsx @@ -1,10 +1,12 @@ import React, { PureComponent } from 'react'; -import './index.scss'; import { Editor, Title } from '@ali/lowcode-editor-core'; -import { TopIcon } from '@ali/lowcode-editor-skeleton'; +import Icon from '@ali/ve-icons'; +import { Button } from '@alifd/next'; import { Designer } from '@ali/lowcode-designer'; import { PluginProps } from '@ali/lowcode-types'; +import './index.scss'; + export interface IProps extends PluginProps { editor: Editor; logo?: string; @@ -78,8 +80,28 @@ export default class UndoRedo extends PureComponent { const { undoEnable, redoEnable } = this.state; return (
- - + +
); }