Share via


CustomCallControlButtonCallback type

A callback that returns the props to render a custom ControlBarButton and <xref:DrawerMenuItem>.

The response indicates where the custom button should be placed.

Performance tip: This callback is only called when either the callback or its arguments change.

type CustomCallControlButtonCallback = (
  args: CustomCallControlButtonCallbackArgs
) => CustomCallControlButtonProps