@mohamed-karawia/library 0.1.4 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. package/.eslintcache +1 -0
  2. package/dist/stories/Reusable Components/fakeData.js +12 -8
  3. package/dist/stories/helpers/util.js +16 -14
  4. package/package.json +1 -1
  5. package/src/stories/Reusable Components/fakeData.js +1 -0
  6. package/src/stories/helpers/util.js +1 -0
  7. package/.github/workflows/chromatic.yml +0 -26
  8. package/.storybook/main.js +0 -21
  9. package/.storybook/middleware.js +0 -28
  10. package/.storybook/preview.js +0 -9
  11. package/build-storybook.log +0 -2704
  12. package/dist/stories/API/API.stories.js +0 -24
  13. package/dist/stories/Agora/Chat/Chat.stories.js +0 -24
  14. package/dist/stories/Agora/Room/Room.stories.js +0 -24
  15. package/dist/stories/Buttons/Buttons/Buttons.stories.js +0 -39
  16. package/dist/stories/Buttons/ReactModal/ReactModal.stories.js +0 -30
  17. package/dist/stories/Chat/Chat.stories.js +0 -76
  18. package/dist/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.js +0 -58
  19. package/dist/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.js +0 -56
  20. package/dist/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.js +0 -47
  21. package/dist/stories/Common Inputs/CustomSelect/CustomSelect.stories.js +0 -61
  22. package/dist/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.js +0 -48
  23. package/dist/stories/Common Inputs/DatePicker/DatePicker.stories.js +0 -60
  24. package/dist/stories/Common Inputs/EditorComponent/EditorComponent.stories.js +0 -62
  25. package/dist/stories/Common Inputs/Formik/InputField/InputField.stories.js +0 -43
  26. package/dist/stories/Common Inputs/Formik/RadioField/RadioField.stories.js +0 -60
  27. package/dist/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -50
  28. package/dist/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -51
  29. package/dist/stories/Common Inputs/TextField/TextField.stories.js +0 -48
  30. package/dist/stories/Containers/BaseMaterial.stories.js +0 -24
  31. package/dist/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -24
  32. package/dist/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -24
  33. package/dist/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -24
  34. package/dist/stories/Enrollment/Admin/CreateForm/CreateForm.stories.js +0 -22
  35. package/dist/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.js +0 -42
  36. package/dist/stories/Enrollment/Admin/ViewForms/ViewForms.stories.js +0 -65
  37. package/dist/stories/Enrollment/Guest/FillForm/FillForm.stories.js +0 -48
  38. package/dist/stories/Events/CreateEvent/CreateEvent.stories.js +0 -30
  39. package/dist/stories/Events/Event/Event.stories.js +0 -33
  40. package/dist/stories/Events/EventsList/EventsList.stories.js +0 -44
  41. package/dist/stories/Forms/AddPhoto/AddPhoto.stories.js +0 -47
  42. package/dist/stories/Forms/AddSong/AddSong.stories.js +0 -37
  43. package/dist/stories/Forms/AddVideo/AddVideo.stories.js +0 -33
  44. package/dist/stories/Forms/Create-Profile/CreateProfile.stories.js +0 -49
  45. package/dist/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.js +0 -42
  46. package/dist/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.js +0 -41
  47. package/dist/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.js +0 -32
  48. package/dist/stories/Forms/CreateAlbum/CreateAlbum.stories.js +0 -47
  49. package/dist/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.js +0 -58
  50. package/dist/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.js +0 -47
  51. package/dist/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -24
  52. package/dist/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -24
  53. package/dist/stories/Forms/CreateUser/CreateUser.stories.js +0 -26
  54. package/dist/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.js +0 -37
  55. package/dist/stories/Forms/Form/Form.stories.js +0 -24
  56. package/dist/stories/Forms/NewProfile/NewProfile.stories.js +0 -24
  57. package/dist/stories/Layout/Body/Body.stories.js +0 -30
  58. package/dist/stories/Layout/Center/Center.stories.js +0 -24
  59. package/dist/stories/Layout/Head/Head.stories.js +0 -24
  60. package/dist/stories/Layout/Left/Left.stories.js +0 -24
  61. package/dist/stories/Layout/Right/Right.stories.js +0 -24
  62. package/dist/stories/Library/CreateFolder/CreateFolder.stories.js +0 -45
  63. package/dist/stories/Library/Folders/Folders.stories.js +0 -55
  64. package/dist/stories/Library/Notes/Notes.stories.js +0 -42
  65. package/dist/stories/Library/ViewNote/ViewNote.stories.js +0 -24
  66. package/dist/stories/Music Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  67. package/dist/stories/Music Album/ViewAlbums/ViewAlbums.stories.js +0 -107
  68. package/dist/stories/Navbar/Navbar.stories.js +0 -41
  69. package/dist/stories/Pages/Blank/Blank.stories.js +0 -24
  70. package/dist/stories/Pages/Centered/Centered.stories.js +0 -24
  71. package/dist/stories/Pages/Chat/Chat.stories.js +0 -74
  72. package/dist/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.js +0 -22
  73. package/dist/stories/Pages/Enrollment/FillForm/FillForm.stories.js +0 -22
  74. package/dist/stories/Pages/Enrollment/Forms/Forms.stories.js +0 -22
  75. package/dist/stories/Pages/Events/Event/Event.stories.js +0 -22
  76. package/dist/stories/Pages/Events/Events/Events.stories.js +0 -22
  77. package/dist/stories/Pages/Library/Folders/Library.stories.js +0 -22
  78. package/dist/stories/Pages/Library/Notes/Notes.stories.js +0 -22
  79. package/dist/stories/Pages/Music/MusicAlbum/Music.stories.js +0 -22
  80. package/dist/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.js +0 -22
  81. package/dist/stories/Pages/Photos/Album/Album.stories.js +0 -22
  82. package/dist/stories/Pages/Photos/Albums/Albums.stories.js +0 -22
  83. package/dist/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.js +0 -22
  84. package/dist/stories/Pages/Video/VideoAlbum/Video.stories.js +0 -22
  85. package/dist/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -264
  86. package/dist/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.js +0 -32
  87. package/dist/stories/Photo Album/ViewAlbum/ViewAlbum.stories.js +0 -115
  88. package/dist/stories/Photo Album/ViewAlbums/ViewAlbums.stories.js +0 -102
  89. package/dist/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.js +0 -35
  90. package/dist/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.js +0 -37
  91. package/dist/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.js +0 -40
  92. package/dist/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.js +0 -37
  93. package/dist/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.js +0 -34
  94. package/dist/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.js +0 -39
  95. package/dist/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.js +0 -27
  96. package/dist/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.js +0 -37
  97. package/dist/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.js +0 -44
  98. package/dist/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.js +0 -27
  99. package/dist/stories/Reusable Components/Cards/Card.stories.js +0 -132
  100. package/dist/stories/Reusable Components/Controls/Controls.stories.js +0 -49
  101. package/dist/stories/Reusable Components/Gallery/Gallery.stories.js +0 -56
  102. package/dist/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -1
  103. package/dist/stories/Reusable Components/Lists/List.stories.js +0 -1
  104. package/dist/stories/Reusable Components/Mention/Mention.stories.js +0 -66
  105. package/dist/stories/Reusable Components/ReusableForm/ReusableForm.stories.js +0 -207
  106. package/dist/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.js +0 -35
  107. package/dist/stories/Reusable Components/ReusableList/ReusableList.stories.js +0 -84
  108. package/dist/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -24
  109. package/dist/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.js +0 -80
  110. package/dist/stories/Reusable Components/Spinner/Spinner.stories.js +0 -22
  111. package/dist/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.js +0 -80
  112. package/dist/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -24
  113. package/dist/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.js +0 -101
  114. package/dist/stories/VideoAlbum/Comments/Comments.stories.js +0 -45
  115. package/dist/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.js +0 -149
  116. package/dist/stories/VideoAlbum/VideoSpace/VideoSpace.stories.js +0 -49
  117. package/dist/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.js +0 -113
  118. package/dist/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -26
  119. package/dist/stories/Widgets/MusicPlayer/MusicPlayer.stories.js +0 -44
  120. package/dist/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.js +0 -52
  121. package/dist/stories/Widgets/SpacesList/SpacesList.stories.js +0 -52
  122. package/dist/stories/Widgets/SpacesList/SpacesListItem.stories.js +0 -24
  123. package/public/logo192.png +0 -0
  124. package/public/logo512.png +0 -0
  125. package/src/stories/API/API.stories.js +0 -10
  126. package/src/stories/Agora/Chat/Chat.stories.jsx +0 -10
  127. package/src/stories/Agora/Room/Room.stories.jsx +0 -10
  128. package/src/stories/Buttons/Buttons/Buttons.stories.jsx +0 -24
  129. package/src/stories/Buttons/ReactModal/ReactModal.stories.jsx +0 -18
  130. package/src/stories/Chat/Chat.stories.jsx +0 -59
  131. package/src/stories/Common Inputs/CheckboxGroup/CheckboxGroup.stories.jsx +0 -32
  132. package/src/stories/Common Inputs/CustomAutoComplete/CustomAutoComplete.stories.jsx +0 -35
  133. package/src/stories/Common Inputs/CustomDropzone/CustomDropzone.stories.jsx +0 -26
  134. package/src/stories/Common Inputs/CustomSelect/CustomSelect.stories.jsx +0 -36
  135. package/src/stories/Common Inputs/CustomTextarea/CustomTextarea.stories.jsx +0 -31
  136. package/src/stories/Common Inputs/DatePicker/DatePicker.stories.jsx +0 -47
  137. package/src/stories/Common Inputs/EditorComponent/EditorComponent.stories.jsx +0 -60
  138. package/src/stories/Common Inputs/Formik/InputField/InputField.stories.jsx +0 -27
  139. package/src/stories/Common Inputs/Formik/RadioField/RadioField.stories.jsx +0 -41
  140. package/src/stories/Common Inputs/RadioInput/RadioInput.stories.js +0 -30
  141. package/src/stories/Common Inputs/RichTextInput/RichTextInput.stories.js +0 -45
  142. package/src/stories/Common Inputs/TextField/TextField.stories.jsx +0 -31
  143. package/src/stories/Containers/BaseMaterial.stories.js +0 -10
  144. package/src/stories/Containers/WidgetExample/WidgetBody.stories.js +0 -10
  145. package/src/stories/Containers/WidgetExample/WidgetExample.stories.js +0 -10
  146. package/src/stories/Containers/WidgetExample/WidgetHead.stories.js +0 -10
  147. package/src/stories/Enrollment/Admin/CreateForm/CreateForm.stories.jsx +0 -8
  148. package/src/stories/Enrollment/Admin/DetailedForm/DetailedForm.stories.jsx +0 -36
  149. package/src/stories/Enrollment/Admin/ViewForms/ViewForms.stories.jsx +0 -66
  150. package/src/stories/Enrollment/Guest/FillForm/FillForm.stories.jsx +0 -27
  151. package/src/stories/Events/CreateEvent/CreateEvent.stories.jsx +0 -19
  152. package/src/stories/Events/Event/Event.stories.jsx +0 -21
  153. package/src/stories/Events/EventsList/EventsList.stories.jsx +0 -25
  154. package/src/stories/Forms/AddPhoto/AddPhoto.stories.jsx +0 -37
  155. package/src/stories/Forms/AddSong/AddSong.stories.jsx +0 -26
  156. package/src/stories/Forms/AddVideo/AddVideo.stories.jsx +0 -20
  157. package/src/stories/Forms/Create-Profile/CreateProfile.stories.jsx +0 -36
  158. package/src/stories/Forms/Create-Profile/subcomponents/LogoUploader.stories.jsx +0 -27
  159. package/src/stories/Forms/Create-Profile/subcomponents/ProfilePhoto.stories.jsx +0 -26
  160. package/src/stories/Forms/Create-Profile/subcomponents/ResetBtn.stories.jsx +0 -18
  161. package/src/stories/Forms/CreateAlbum/CreateAlbum.stories.jsx +0 -37
  162. package/src/stories/Forms/CreateAnnouncementForm/CreateAnnouncementForm.stories.jsx +0 -44
  163. package/src/stories/Forms/CreateMusicAlbum/CreateMusicAlbum.stories.jsx +0 -38
  164. package/src/stories/Forms/CreateProfile/CreateProfile.stories.js +0 -10
  165. package/src/stories/Forms/CreateProfile-3/CreateProfile.stories.js +0 -10
  166. package/src/stories/Forms/CreateUser/CreateUser.stories.js +0 -10
  167. package/src/stories/Forms/CreateVideoAlbum/CreateVideoAlbum.stories.jsx +0 -23
  168. package/src/stories/Forms/Form/Form.stories.js +0 -10
  169. package/src/stories/Forms/NewProfile/NewProfile.stories.jsx +0 -10
  170. package/src/stories/Layout/Body/Body.stories.js +0 -26
  171. package/src/stories/Layout/Center/Center.stories.js +0 -14
  172. package/src/stories/Layout/Head/Head.stories.js +0 -10
  173. package/src/stories/Layout/Left/Left.stories.js +0 -14
  174. package/src/stories/Layout/Right/Right.stories.js +0 -14
  175. package/src/stories/Library/CreateFolder/CreateFolder.stories.jsx +0 -32
  176. package/src/stories/Library/Folders/Folders.stories.jsx +0 -34
  177. package/src/stories/Library/Notes/Notes.stories.jsx +0 -24
  178. package/src/stories/Library/ViewNote/ViewNote.stories.jsx +0 -16
  179. package/src/stories/Music Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  180. package/src/stories/Music Album/ViewAlbums/ViewAlbums.stories.jsx +0 -57
  181. package/src/stories/Navbar/Navbar.stories.js +0 -25
  182. package/src/stories/Pages/Blank/Blank.stories.js +0 -10
  183. package/src/stories/Pages/Centered/Centered.stories.js +0 -14
  184. package/src/stories/Pages/Chat/Chat.stories.jsx +0 -53
  185. package/src/stories/Pages/Enrollment/DetailedForm/DetailedForm.stories.jsx +0 -8
  186. package/src/stories/Pages/Enrollment/FillForm/FillForm.stories.jsx +0 -8
  187. package/src/stories/Pages/Enrollment/Forms/Forms.stories.jsx +0 -8
  188. package/src/stories/Pages/Events/Event/Event.stories.jsx +0 -8
  189. package/src/stories/Pages/Events/Events/Events.stories.jsx +0 -8
  190. package/src/stories/Pages/Library/Folders/Library.stories.jsx +0 -8
  191. package/src/stories/Pages/Library/Notes/Notes.stories.jsx +0 -8
  192. package/src/stories/Pages/Music/MusicAlbum/Music.stories.jsx +0 -8
  193. package/src/stories/Pages/Music/MusicAlbums/MusicAlbums.stories.jsx +0 -8
  194. package/src/stories/Pages/Photos/Album/Album.stories.jsx +0 -8
  195. package/src/stories/Pages/Photos/Albums/Albums.stories.jsx +0 -8
  196. package/src/stories/Pages/Video/DetailedVideo/DetailedVideo.stories.jsx +0 -8
  197. package/src/stories/Pages/Video/VideoAlbum/Video.stories.jsx +0 -8
  198. package/src/stories/Pages/ViewWorld/ViewWorld.stories.js +0 -270
  199. package/src/stories/Photo Album/DetailedPhoto/DetailedPhoto.stories.jsx +0 -20
  200. package/src/stories/Photo Album/ViewAlbum/ViewAlbum.stories.jsx +0 -60
  201. package/src/stories/Photo Album/ViewAlbums/ViewAlbums.stories.jsx +0 -59
  202. package/src/stories/Reusable Components/Cards/Card-style-1/CardStyle1.stories.jsx +0 -22
  203. package/src/stories/Reusable Components/Cards/Card-style-10/CardStyle10.stories.jsx +0 -21
  204. package/src/stories/Reusable Components/Cards/Card-style-11/CardStyle11.stories.jsx +0 -21
  205. package/src/stories/Reusable Components/Cards/Card-style-2/CardStyle2.stories.jsx +0 -24
  206. package/src/stories/Reusable Components/Cards/Card-style-3/CardStyle3.stories.jsx +0 -22
  207. package/src/stories/Reusable Components/Cards/Card-style-4/CardStyle4.stories.jsx +0 -25
  208. package/src/stories/Reusable Components/Cards/Card-style-6/CardStyle6.stories.jsx +0 -9
  209. package/src/stories/Reusable Components/Cards/Card-style-7/CardStyle7.stories.jsx +0 -23
  210. package/src/stories/Reusable Components/Cards/Card-style-8/CardStyle8.stories.jsx +0 -29
  211. package/src/stories/Reusable Components/Cards/Card-style-9/CardStyle9.stories.jsx +0 -14
  212. package/src/stories/Reusable Components/Cards/Card.stories.jsx +0 -118
  213. package/src/stories/Reusable Components/Controls/Controls.stories.jsx +0 -24
  214. package/src/stories/Reusable Components/Gallery/Gallery.stories.jsx +0 -43
  215. package/src/stories/Reusable Components/Lists/Cards/ListCard-1.stories.js +0 -0
  216. package/src/stories/Reusable Components/Lists/List.stories.js +0 -0
  217. package/src/stories/Reusable Components/Mention/Mention.stories.jsx +0 -55
  218. package/src/stories/Reusable Components/ReusableForm/ReusableForm.stories.jsx +0 -167
  219. package/src/stories/Reusable Components/ReusableHeader/ReusableHeader.stories.jsx +0 -22
  220. package/src/stories/Reusable Components/ReusableList/ReusableList.stories.jsx +0 -70
  221. package/src/stories/Reusable Components/SearchCard/SearchCard.stories.js +0 -10
  222. package/src/stories/Reusable Components/SpaceContainer/SpaceContainer.stories.jsx +0 -78
  223. package/src/stories/Reusable Components/Spinner/Spinner.stories.jsx +0 -8
  224. package/src/stories/Reusable Components/WidgetContainer/WidgetContainer.stories.jsx +0 -61
  225. package/src/stories/Spaces/WelcomeSpace/WelcomeSpace.stories.js +0 -10
  226. package/src/stories/VideoAlbum/AlbumsGallery/AlbumsGallery.stories.jsx +0 -59
  227. package/src/stories/VideoAlbum/Comments/Comments.stories.jsx +0 -18
  228. package/src/stories/VideoAlbum/VideoPlayer/VideoPlayer.stories.jsx +0 -82
  229. package/src/stories/VideoAlbum/VideoSpace/VideoSpace.stories.jsx +0 -23
  230. package/src/stories/VideoAlbum/ViewAlbum/ViewAlbum.stories.jsx +0 -57
  231. package/src/stories/Widgets/LogoWidget/LogoWidget.stories.js +0 -12
  232. package/src/stories/Widgets/MusicPlayer/MusicPlayer.stories.jsx +0 -23
  233. package/src/stories/Widgets/MusicPlayerWidget/MusicPlayerWidget.stories.jsx +0 -33
  234. package/src/stories/Widgets/SpacesList/SpacesList.stories.jsx +0 -27
  235. package/src/stories/Widgets/SpacesList/SpacesListItem.stories.jsx +0 -10
  236. package/src/stories/assets/images/album1.jpg +0 -0
  237. package/src/stories/assets/images/album2.jpg +0 -0
  238. package/src/stories/assets/images/album3.jpg +0 -0
  239. package/src/stories/assets/images/album4.jpg +0 -0
  240. package/src/stories/assets/images/album5.jpg +0 -0
  241. package/src/stories/assets/images/album6.jpg +0 -0
  242. package/src/stories/assets/images/art.jpg +0 -0
  243. package/src/stories/assets/images/dance.jpg +0 -0
  244. package/src/stories/assets/images/football.jpg +0 -0
  245. package/src/stories/assets/images/music.jpg +0 -0
  246. package/src/stories/assets/images/music1.jpg +0 -0
  247. package/src/stories/assets/images/music2.jpg +0 -0
  248. package/src/stories/assets/images/music3.jpg +0 -0
  249. package/src/stories/assets/images/music4.jpg +0 -0
  250. package/src/stories/assets/images/music5.jpg +0 -0
  251. package/src/stories/assets/images/music6.jpg +0 -0
  252. package/src/stories/assets/images/reset.png +0 -0
  253. package/src/stories/assets/images/robotics.jpg +0 -0
  254. package/src/stories/assets/images/tennis.jpg +0 -0
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.videoComments = exports.default = void 0;
9
-
10
- var _Comments = _interopRequireDefault(require("./Comments"));
11
-
12
- var _default = {
13
- title: 'Video Album/Comments',
14
- component: _Comments.default
15
- };
16
- exports.default = _default;
17
- var comments = [{
18
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
19
- title: 'User Name',
20
- description: 'This is A test for comments on videos.'
21
- }, {
22
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
23
- title: 'User Name',
24
- description: 'This is A test for comments on videos.'
25
- }, {
26
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
27
- title: 'User Name',
28
- description: 'This is A test for comments on videos.'
29
- }, {
30
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
31
- title: 'User Name',
32
- description: 'This is A test for comments on videos.'
33
- }, {
34
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
35
- title: 'User Name',
36
- description: 'This is A test for comments on videos.'
37
- }];
38
-
39
- var videoComments = function videoComments(args) {
40
- return /*#__PURE__*/React.createElement(_Comments.default, Object.assign({
41
- comments: comments
42
- }, args));
43
- };
44
-
45
- exports.videoComments = videoComments;
@@ -1,149 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Video = exports.default = void 0;
9
-
10
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
11
-
12
- var _react = _interopRequireWildcard(require("react"));
13
-
14
- var _VideoPlayer = _interopRequireDefault(require("./VideoPlayer"));
15
-
16
- var _util = require("../../helpers/util");
17
-
18
- var _music = _interopRequireDefault(require("../../assets/images/music1.jpg"));
19
-
20
- var _music2 = _interopRequireDefault(require("../../assets/images/music2.jpg"));
21
-
22
- var _music3 = _interopRequireDefault(require("../../assets/images/music3.jpg"));
23
-
24
- var _music4 = _interopRequireDefault(require("../../assets/images/music4.jpg"));
25
-
26
- var _music5 = _interopRequireDefault(require("../../assets/images/music5.jpg"));
27
-
28
- var _music6 = _interopRequireDefault(require("../../assets/images/music6.jpg"));
29
-
30
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
-
32
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
-
34
- var _default = {
35
- title: 'Video Album/Video Player',
36
- component: _VideoPlayer.default
37
- };
38
- exports.default = _default;
39
-
40
- var Video = function Video(args) {
41
- var _useState = (0, _react.useState)(0),
42
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
43
- currentVideo = _useState2[0],
44
- setCurrentVideo = _useState2[1];
45
-
46
- var _useState3 = (0, _react.useState)([{
47
- index: 0,
48
- img: _music4.default,
49
- src: 'https://www.youtube.com/watch?v=hl5Kt0BxTa8',
50
- title: 'Plans We Made',
51
- description: 'Son Lux',
52
- time: '5:20'
53
- }, {
54
- index: 2,
55
- img: _music6.default,
56
- src: 'https://www.youtube.com/watch?v=EYyarcp5LtU',
57
- title: 'Still Loving You',
58
- description: 'Scorpions',
59
- time: '4:20'
60
- }, {
61
- index: 1,
62
- img: _music5.default,
63
- src: 'https://www.youtube.com/watch?v=vlaQu_rmIQo',
64
- title: 'Night',
65
- description: 'Frank Ocean',
66
- time: '5:20'
67
- }, {
68
- index: 3,
69
- img: _music.default,
70
- src: 'https://www.youtube.com/watch?v=VNsd8Yo5zvc',
71
- title: 'Somebody Else',
72
- description: '1975',
73
- time: '5:20'
74
- }, {
75
- index: 4,
76
- img: _music3.default,
77
- src: 'https://www.youtube.com/watch?v=CD-E-LDc384',
78
- title: 'Enter Sandman',
79
- description: 'Metallica',
80
- time: '5:20'
81
- }, {
82
- index: 5,
83
- img: _music2.default,
84
- src: 'https://www.youtube.com/watch?v=8SbUC-UaAxE',
85
- title: 'November Rain',
86
- description: "Guns N' Roses",
87
- time: '5:20'
88
- }]),
89
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
90
- album = _useState4[0],
91
- setAlbum = _useState4[1];
92
-
93
- var cardIconClicked = function cardIconClicked(action, index) {
94
- switch (action) {
95
- case 'play':
96
- onPlayVideo(index);
97
- break;
98
-
99
- case 'delete':
100
- deleteSonngFromAlbum(index);
101
- break;
102
-
103
- default:
104
- break;
105
- }
106
- };
107
-
108
- var nextVideo = function nextVideo() {
109
- if (currentVideo < album.length - 1) {
110
- setCurrentVideo(currentVideo + 1);
111
- } else {
112
- setCurrentVideo(0);
113
- }
114
- };
115
-
116
- var prevVideo = function prevVideo() {
117
- if (currentVideo !== 0) {
118
- setCurrentVideo(currentVideo - 1);
119
- }
120
- };
121
-
122
- var onPlayVideo = function onPlayVideo(index) {
123
- setCurrentVideo(index);
124
- };
125
-
126
- var onAddSong = function onAddSong(song) {
127
- var newSong = {
128
- song: song.song.file,
129
- img: song.cover.meta.previewUrl,
130
- title: song.title,
131
- description: song.artist,
132
- time: new Date(song.song.meta.duration * 1000).toISOString().substr(14, 5)
133
- };
134
- setAlbum((0, _util.addObjectToArray)(album, newSong));
135
- };
136
-
137
- var deleteSonngFromAlbum = function deleteSonngFromAlbum(index) {
138
- setAlbum((0, _util.deleteFromArrayByIndex)(album, index));
139
- };
140
-
141
- return /*#__PURE__*/_react.default.createElement(_VideoPlayer.default, Object.assign({
142
- iconsColor: "white",
143
- src: album[currentVideo].src,
144
- nextVideo: nextVideo,
145
- prevVideo: prevVideo
146
- }, args));
147
- };
148
-
149
- exports.Video = Video;
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Space = exports.default = void 0;
9
-
10
- var _VideoSpace = _interopRequireDefault(require("./VideoSpace"));
11
-
12
- var _default = {
13
- title: 'Video Album/Video Space',
14
- component: _VideoSpace.default
15
- };
16
- exports.default = _default;
17
- var comments = [{
18
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
19
- title: 'User Name',
20
- description: 'This is A test for comments on videos.'
21
- }, {
22
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
23
- title: 'User Name',
24
- description: 'This is A test for comments on videos.'
25
- }, {
26
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
27
- title: 'User Name',
28
- description: 'This is A test for comments on videos.'
29
- }, {
30
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
31
- title: 'User Name',
32
- description: 'This is A test for comments on videos.'
33
- }, {
34
- img: 'https://www.kindpng.com/picc/m/163-1636340_user-avatar-icon-avatar-transparent-user-icon-png.png',
35
- title: 'User Name',
36
- description: 'This is A test for comments on videos.'
37
- }];
38
-
39
- var Space = function Space(args) {
40
- return /*#__PURE__*/React.createElement(_VideoSpace.default, Object.assign({
41
- backgroundColor: "white",
42
- title: "Video Title",
43
- discription: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Praesentium placeat nostrum tempora suscipit laborum quibusdam.",
44
- date: "10/11/2022",
45
- comments: comments
46
- }, args));
47
- };
48
-
49
- exports.Space = Space;
@@ -1,113 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Gallery = exports.default = void 0;
9
-
10
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
11
-
12
- var _react = _interopRequireWildcard(require("react"));
13
-
14
- var _ViewAlbum = _interopRequireDefault(require("./ViewAlbum"));
15
-
16
- var _util = require("../../helpers/util");
17
-
18
- var _music = _interopRequireDefault(require("../../assets/images/music1.jpg"));
19
-
20
- var _music2 = _interopRequireDefault(require("../../assets/images/music2.jpg"));
21
-
22
- var _music3 = _interopRequireDefault(require("../../assets/images/music3.jpg"));
23
-
24
- var _music4 = _interopRequireDefault(require("../../assets/images/music4.jpg"));
25
-
26
- var _music5 = _interopRequireDefault(require("../../assets/images/music5.jpg"));
27
-
28
- var _music6 = _interopRequireDefault(require("../../assets/images/music6.jpg"));
29
-
30
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
-
32
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
-
34
- var _default = {
35
- title: 'Video Album/Album Gallery',
36
- component: _ViewAlbum.default
37
- };
38
- exports.default = _default;
39
-
40
- var Gallery = function Gallery(args) {
41
- var _useState = (0, _react.useState)([{
42
- index: 0,
43
- img: _music4.default,
44
- title: 'Plans We Made',
45
- description: 'Son Lux',
46
- time: '5:20'
47
- }, {
48
- index: 2,
49
- img: _music6.default,
50
- title: 'Still Loving You',
51
- description: 'Scorpions',
52
- time: '4:20'
53
- }, {
54
- index: 1,
55
- img: _music5.default,
56
- title: 'Night',
57
- description: 'Frank Ocean',
58
- time: '5:20'
59
- }, {
60
- index: 3,
61
- img: _music.default,
62
- title: 'Somebody Else',
63
- description: '1975',
64
- time: '5:20'
65
- }, {
66
- index: 4,
67
- img: _music3.default,
68
- title: 'Enter Sandman',
69
- description: 'Metallica',
70
- time: '5:20'
71
- }, {
72
- index: 5,
73
- img: _music2.default,
74
- title: 'November Rain',
75
- description: "Guns N' Roses",
76
- time: '5:20'
77
- }]),
78
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
79
- album = _useState2[0],
80
- setAlbum = _useState2[1];
81
-
82
- var cardIconClicked = function cardIconClicked(action, index) {
83
- switch (action) {
84
- case 'delete':
85
- deleteFromAlbums(index);
86
- break;
87
-
88
- default:
89
- break;
90
- }
91
- };
92
-
93
- var onAddAlbum = function onAddAlbum(album) {
94
- var newAlbum = {
95
- img: album.cover.preview,
96
- title: album.title,
97
- description: album.artist
98
- };
99
- setAlbum((0, _util.addObjectToArray)(album, newAlbum));
100
- };
101
-
102
- var deleteFromAlbums = function deleteFromAlbums(index) {
103
- setAlbum((0, _util.deleteFromArrayByIndex)(album, index));
104
- };
105
-
106
- return /*#__PURE__*/_react.default.createElement(_ViewAlbum.default, Object.assign({
107
- album: album,
108
- cardIconClicked: cardIconClicked,
109
- onAddAlbum: onAddAlbum
110
- }, args));
111
- };
112
-
113
- exports.Gallery = Gallery;
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.CargoSprint = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _LogoWidget = _interopRequireDefault(require("./LogoWidget"));
13
-
14
- var _default = {
15
- title: "Widgets/Logo",
16
- component: _LogoWidget.default
17
- };
18
- exports.default = _default;
19
-
20
- var CargoSprint = function CargoSprint() {
21
- return /*#__PURE__*/_react.default.createElement(_LogoWidget.default, {
22
- imgUrl: "https://cargosprint.com/assets/img/cs-logos/Logo-CargoSprint_horizontal-color.png"
23
- });
24
- };
25
-
26
- exports.CargoSprint = CargoSprint;
@@ -1,44 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Music = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _MusicPlayer = _interopRequireDefault(require("./MusicPlayer"));
13
-
14
- var Songs = [{
15
- name: 'Music 1',
16
- musicSrc: 'https://www.pacdv.com/sounds/free-music/kickstarter.mp3',
17
- cover: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8NHx8fGVufDB8fHx8&w=1000&q=80'
18
- }, {
19
- name: 'Music 2',
20
- musicSrc: 'https://www.pacdv.com/sounds/free-music/gentle-thoughts-1.mp3',
21
- cover: 'https://c4.wallpaperflare.com/wallpaper/729/961/256/black-minimalistic-music-piano-black-background-1680x1050-entertainment-music-hd-art-wallpaper-preview.jpg'
22
- }, {
23
- name: 'Music 3',
24
- musicSrc: 'https://www.pacdv.com/sounds/free-music/glow-in-the-dark.mp3',
25
- cover: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8NHx8fGVufDB8fHx8&w=1000&q=80'
26
- }];
27
- var _default = {
28
- title: 'widgets/Music Player',
29
- components: _MusicPlayer.default
30
- };
31
- exports.default = _default;
32
-
33
- var Template = function Template(args) {
34
- return /*#__PURE__*/_react.default.createElement(_MusicPlayer.default, Object.assign({
35
- audioLists: Songs
36
- }, args));
37
- };
38
-
39
- var Music = Template.bind({});
40
- exports.Music = Music;
41
- Music.args = {
42
- primaryColor: '',
43
- hoverColor: ''
44
- };
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.MusicWidget = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _MusicPlayerWidget = _interopRequireDefault(require("./MusicPlayerWidget"));
13
-
14
- var _BaseMaterial = _interopRequireDefault(require("../../Containers/BaseMaterial"));
15
-
16
- var Songs = [{
17
- name: 'Music 1',
18
- musicSrc: 'https://www.pacdv.com/sounds/free-music/kickstarter.mp3',
19
- cover: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8NHx8fGVufDB8fHx8&w=1000&q=80'
20
- }, {
21
- name: 'Music 2',
22
- musicSrc: 'https://www.pacdv.com/sounds/free-music/gentle-thoughts-1.mp3',
23
- cover: 'https://c4.wallpaperflare.com/wallpaper/729/961/256/black-minimalistic-music-piano-black-background-1680x1050-entertainment-music-hd-art-wallpaper-preview.jpg'
24
- }, {
25
- name: 'Music 3',
26
- musicSrc: 'https://www.pacdv.com/sounds/free-music/glow-in-the-dark.mp3',
27
- cover: 'https://images.unsplash.com/photo-1505740420928-5e560c06d30e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxleHBsb3JlLWZlZWR8NHx8fGVufDB8fHx8&w=1000&q=80'
28
- }];
29
- var _default = {
30
- title: 'widgets/Music Player Widget',
31
- compomemt: _MusicPlayerWidget.default
32
- };
33
- exports.default = _default;
34
-
35
- var Template = function Template(args) {
36
- return /*#__PURE__*/_react.default.createElement(_BaseMaterial.default, null, /*#__PURE__*/_react.default.createElement(_MusicPlayerWidget.default, Object.assign({
37
- playlist: Songs
38
- }, args)));
39
- };
40
-
41
- var MusicWidget = Template.bind({});
42
- exports.MusicWidget = MusicWidget;
43
- MusicWidget.args = {
44
- fontFamily: '',
45
- backgroundColor: '',
46
- primaryColor: '',
47
- borderRadius: '',
48
- padding: '',
49
- width: '',
50
- fontColor: '',
51
- fontSize: ''
52
- };
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.FewItems = exports.OneItem = exports.NoItems = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _SpacesList = _interopRequireDefault(require("./SpacesList"));
13
-
14
- var _SpacesListItem = _interopRequireDefault(require("./SpacesListItem"));
15
-
16
- var _default = {
17
- title: "Widgets/SpacesList/List",
18
- component: _SpacesList.default
19
- };
20
- exports.default = _default;
21
-
22
- var NoItems = function NoItems(args) {
23
- return /*#__PURE__*/_react.default.createElement(_SpacesList.default, args);
24
- };
25
-
26
- exports.NoItems = NoItems;
27
-
28
- var OneItem = function OneItem(args) {
29
- return /*#__PURE__*/_react.default.createElement(_SpacesList.default, args, /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, {
30
- marginTop: args.itemSpacing
31
- }));
32
- };
33
-
34
- exports.OneItem = OneItem;
35
-
36
- var FewItems = function FewItems(args) {
37
- return /*#__PURE__*/_react.default.createElement(_SpacesList.default, args, /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, null), /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, {
38
- spaceName: "Welcome",
39
- marginTop: args.itemSpacing
40
- }), /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, {
41
- spaceName: "Announcements",
42
- marginTop: args.itemSpacing
43
- }), /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, {
44
- spaceName: "Client Feedback",
45
- marginTop: args.itemSpacing
46
- }), /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, {
47
- spaceName: "Daily Video Call",
48
- marginTop: args.itemSpacing
49
- }));
50
- };
51
-
52
- exports.FewItems = FewItems;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Default = exports.default = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _SpacesListItem = _interopRequireDefault(require("./SpacesListItem"));
13
-
14
- var _default = {
15
- title: 'Widgets/SpacesList/Item',
16
- component: _SpacesListItem.default
17
- };
18
- exports.default = _default;
19
-
20
- var Default = function Default(args) {
21
- return /*#__PURE__*/_react.default.createElement(_SpacesListItem.default, args);
22
- };
23
-
24
- exports.Default = Default;
Binary file
Binary file
@@ -1,10 +0,0 @@
1
- import React from "react"
2
-
3
- import API from "./API"
4
-
5
- export default {
6
- title: 'API Statuses/API',
7
- component: API
8
- }
9
-
10
- export const Default = (args) => <API {...args} />
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
-
3
- import Chat from './Chat';
4
-
5
- export default {
6
- title: 'Agora/Chat/Item',
7
- component: Chat,
8
- };
9
-
10
- export const Default = (args) => <Chat {...args} />
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
-
3
- import Room from './Room';
4
-
5
- export default {
6
- title: 'Agora/Room/Item',
7
- component: Room,
8
- };
9
-
10
- export const Default = (args) => <Room {...args} />
@@ -1,24 +0,0 @@
1
- import React from 'react'
2
- import Button from './Buttons'
3
-
4
- export default {
5
- title: 'Buttons/Primary',
6
- component: Button,
7
- }
8
-
9
- const Template = (args) => <Button {...args} />
10
-
11
- export const Primary = Template.bind({});
12
- Primary.args = {
13
- variant: 'primary',
14
- label: 'Submit',
15
- size: 'md',
16
- type: 'submit'
17
- }
18
- export const Secondary = Template.bind({});
19
- Secondary.args = {
20
- variant: 'secondary',
21
- label: 'Submit',
22
- size: 'md',
23
- type: 'submit'
24
- }
@@ -1,18 +0,0 @@
1
- import React from "react";
2
-
3
- import ReactModal from "./ReactModal";
4
- import ReactModalDemo from "./ReactModalDemo";
5
-
6
- export default {
7
- title: "Buttons/React Modal",
8
- component: ReactModal
9
- };
10
-
11
- export const Modal = args => (
12
- <ReactModal
13
- {...args}
14
- modalBtnOpenText="Lets Open The Modal"
15
- modalBtnCloseText="Lets Close The Modal"
16
- modalContent={<ReactModalDemo />}
17
- />
18
- );