Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/fullscreen"

Index

Functions

Functions

fullscreen

  • Pushes a fullscreen onto the stack

    example
    screen/Main/Component.tsx ```ts import * as React from 'react'; import { fullscreen } from '@ef-carbon/react-native-navigation';

    export class MyScreen extends React.PureComponent { private readonly showFullscreen = (): void => { const instance = fullscreen(This will be shown in the fullscreen display); instance.visible; // -> true // Some point later instance.close(); instance.visible; // -> false } } `

    Parameters

    • node: React.ReactNode

      the elements to render inside the fullscreen

    • Default value options: IFullscreenOptions = {}

    Returns IFullscreen

    the interface to programatically close the fullscreen