ModalStack

Type: React component

How to get ModalStack?

JavaScript

import { ModalStack } from 'fds/components';

A container component used when rendering multiple Modal components on top of each other. Generally rendering multiple Modal components within the same context should be avoided, however in some cases this can't be avoided.

Props

  1. children

    (Required)

    Type: ReactNode