/
home
/
techb158
/
primomovers.ca
/
wp-content
/
themes
/
Divi
/
common
/
stories
/
branded-modal
/
/home/techb158/primomovers.ca/wp-content/themes/Divi/common/stories/branded-modal
mkdir
upload
Name
Size
Mode
Actions
fullmodal.stories.js
1016
0644
edit
dl
rm
header.stories.js
1368
0644
edit
dl
rm
modal.stories.js
665
0644
edit
dl
rm
Edit:
/home/techb158/primomovers.ca/wp-content/themes/Divi/common/stories/branded-modal/modal.stories.js
(665B)
// 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, }, };
Save
cmd:
run