You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 462B

12345678910111213141516171819
  1. // @flow
  2. export type PREJOIN_SCREEN_STATE = "hidden" | "loading" | true;
  3. type PREJOIN_SCREEN_STATE_TYPE = {
  4. HIDDEN: PREJOIN_SCREEN_STATE,
  5. LOADING: PREJOIN_SCREEN_STATE,
  6. VISIBLE: PREJOIN_SCREEN_STATE
  7. }
  8. /**
  9. * Enum of possible prejoin screen states.
  10. */
  11. export const PREJOIN_SCREEN_STATES: PREJOIN_SCREEN_STATE_TYPE = {
  12. HIDDEN: 'hidden',
  13. LOADING: 'loading',
  14. VISIBLE: true // backwards compatibility with old boolean implementation
  15. };