WithPermissionsStatusOptions: {
    renderIfDenied: (() => JSX.Element);
    renderIfGranted: (() => JSX.Element);
    renderIfLoading: (() => JSX.Element);
    renderIfPrompt: (() => JSX.Element);
} | {
    render: ((permissionsStatus) => JSX.Element);
}

Type declaration

  • renderIfDenied: (() => JSX.Element)
      • (): JSX.Element
      • Returns JSX.Element

  • renderIfGranted: (() => JSX.Element)
      • (): JSX.Element
      • Returns JSX.Element

  • renderIfLoading: (() => JSX.Element)
      • (): JSX.Element
      • Returns JSX.Element

  • renderIfPrompt: (() => JSX.Element)
      • (): JSX.Element
      • Returns JSX.Element

Type declaration

  • render: ((permissionsStatus) => JSX.Element)
      • (permissionsStatus): JSX.Element
      • Parameters

        • permissionsStatus: PermissionStatus | undefined

        Returns JSX.Element