Documentation
Ae2PriorityDialog
优先级弹窗:priority.png 176×107 独立对话框,数值框 + 四档加/减按钮两行 + 返回标签;宿主入口 Ae2PriorityTab。
优先级
import { Ae2PriorityDialog } from "./index";
/**
* Ae2PriorityDialog 预览用例:当前优先级 32。
*/
export function Ae2PriorityDialogDemo() {
return (
<Ae2PriorityDialog
onPriorityChange={() => {}}
onReturn={() => {}}
priority={32}
/>
);
}
Install
$pnpm add @tennantite/ae2npm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/ae2/src/ae2-priority-dialog/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.