File Manager

Current Path : /webspace/www.beetasty.be/html/wp-content/themes/Divi/common/stories/branded-modal/
Upload File :
Current File : /webspace/www.beetasty.be/html/wp-content/themes/Divi/common/stories/branded-modal/modal.stories.js

// External dependencies.
import React from 'react';

// Internal dependencies.
import Modal from '@common-ui/branded-modal/modal';


export default {
  title: 'Branded Modal/Modal',
  component: Modal,
  argTypes: {
    animation: {
      control: 'boolean',
    },
  },
  args: {
    children: (
      <div style={{ width: '450px', height: '350px', padding: '20px' }}>
        <h1>Modal Content</h1>
        <p>This is the default modal content. It can be replaced with any custom content.</p>
      </div>
    ),
  },
};

export const NoAnimation = {
  args: {
    animation: false,
  },
};

export const WithAnimation = {
  args: {
    animation: true,
  },
};

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com