Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

actions.js 465B

1234567891011121314151617181920
  1. // @flow
  2. import { _SET_IMMERSIVE_LISTENER } from './actionTypes';
  3. /**
  4. * Sets the listener to be used with React Native's Immersive API.
  5. *
  6. * @param {Function} listener - Function to be set as the change event listener.
  7. * @protected
  8. * @returns {{
  9. * type: _SET_IMMERSIVE_LISTENER,
  10. * listener: Function
  11. * }}
  12. */
  13. export function _setImmersiveListener(listener: ?Function) {
  14. return {
  15. type: _SET_IMMERSIVE_LISTENER,
  16. listener
  17. };
  18. }