diff --git a/packages/ui/src/Action/demo/with-tooltip-popconfirm.tsx b/packages/ui/src/Action/demo/with-tooltip-popconfirm.tsx new file mode 100644 index 000000000..eccadc763 --- /dev/null +++ b/packages/ui/src/Action/demo/with-tooltip-popconfirm.tsx @@ -0,0 +1,29 @@ +import React from 'react'; +import { Popconfirm, Space } from '@oceanbase/design'; +import { Action } from '@oceanbase/ui'; +import { DownOutlined } from '@oceanbase/icons'; + +export default () => { + return ( + + 更多 + + + } + > + + action1 + + + + 危险按钮 + + + action3 + action4 + action5 + + ); +}; diff --git a/packages/ui/src/Action/index.md b/packages/ui/src/Action/index.md index 4970b10e5..57b173e29 100644 --- a/packages/ui/src/Action/index.md +++ b/packages/ui/src/Action/index.md @@ -7,14 +7,12 @@ nav: ## 代码演示 + - - - + - ## API