共用方式為


CustomCallControlButtonCallback type

一個回調,返回用於渲染自定義 ControlBarButton 和 <xref:DrawerMenuItem>的 props。

回應指示自定義按鈕的放置位置。

性能提示:僅當回調或其參數發生變化時,才會調用此回調。

type CustomCallControlButtonCallback = (
  args: CustomCallControlButtonCallbackArgs
) => CustomCallControlButtonProps