Skip to content

Modals

Code

import * as G from '.../components';

<G.Button onClick={() => setOpened(true)}>Lorem ipsum</G.Button>
<G.Modal 
  title="Lorem ipsum"
  options={[
    {
      label: 'Lorem ipsum',
    },
  ]}
  opened={opened}
  onClose={() => setOpened(false)}>
  Lorem ipsum dolor sit amet.
</G.Modal>

Properties

  • title - String
  • options - Array of Button Props
  • opened - true | false
  • onClose - Function
  • forced - true | false
  • currentStep, totalSteps - Integer
GentlentAn official Gentlent website. Official Gentlent websites are always linked from our website gentlent.com, or contain an extended validated certificate.
Skyline Dusseldorf