Dialog

Reference

Gympass <Dialog /> is a component which has the purpose of providing prioritary feedback for the user

  • <Dialog.Header />
  • <Dialog.Content />
  • <Dialog.Footer />

Recommendations of use Buttons

The right positioning of the buttons starting with the primary followed by the secondary

Usage

Dialog with one action

import { Button, Dialog } from '@gympass/yoga';

Dialog with two actions

import { Button, Dialog } from '@gympass/yoga';

Dialog with close button

import { Button, Dialog } from '@gympass/yoga';

Dialog with only title

import { Button, Dialog } from '@gympass/yoga';

Dialog with custom ref

import { Button, Dialog } from '@gympass/yoga';

Dialog with custom portal ID

import { Button, Dialog } from '@gympass/yoga';

Props

PropDescriptionTypeDefaultRequired
Made with ❤️ by Gympass • github