trepur_components 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/{Assets → lib/assets}/Images/logoBlue.png +0 -0
  2. package/dist/{Assets → lib/assets}/Images/logoBlueBorder.png +0 -0
  3. package/dist/{Assets → lib/assets}/Images/logoCoco.png +0 -0
  4. package/dist/{Assets → lib/assets}/Images/logoCocoBanner.png +0 -0
  5. package/dist/{Assets → lib/assets}/Images/logoWhite.png +0 -0
  6. package/dist/{Assets → lib/assets}/Images/logoWhiteBorder.png +0 -0
  7. package/dist/{Assets → lib/assets}/Images/user.jpeg +0 -0
  8. package/dist/{Assets → lib/assets}/Videos/example.mp4 +0 -0
  9. package/dist/{Assets → lib/assets}/Videos/example.ogv +0 -0
  10. package/dist/lib/components/Atoms/AlertBar/AlertBar.stories.js +84 -0
  11. package/dist/{components → lib/components}/Atoms/AlertBar/index.js +0 -0
  12. package/dist/lib/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +49 -0
  13. package/dist/{components → lib/components}/Atoms/Breadcrumbs/index.js +0 -0
  14. package/dist/lib/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +103 -0
  15. package/dist/{components → lib/components}/Atoms/BreadcrumbsItem/index.css +0 -0
  16. package/dist/{components → lib/components}/Atoms/BreadcrumbsItem/index.js +0 -0
  17. package/dist/{components → lib/components}/Atoms/Button/Styles.css +0 -0
  18. package/dist/lib/components/Atoms/Button/button.stories.js +86 -0
  19. package/dist/{components → lib/components}/Atoms/Button/index.js +0 -0
  20. package/dist/lib/components/Atoms/Collapsible/Collapsible.stories.js +157 -0
  21. package/dist/{components → lib/components}/Atoms/Collapsible/index.js +0 -0
  22. package/dist/lib/components/Atoms/Column/Column.stories.js +42 -0
  23. package/dist/{components → lib/components}/Atoms/Column/index.js +0 -0
  24. package/dist/lib/components/Atoms/Icon/Icon.stories.js +39 -0
  25. package/dist/{components → lib/components}/Atoms/Icon/index.js +0 -0
  26. package/dist/lib/components/Atoms/Image/Image.stories.js +40 -0
  27. package/dist/{components → lib/components}/Atoms/Image/index.js +0 -0
  28. package/dist/lib/components/Atoms/InformationIcon/InformationIcon.stories.js +108 -0
  29. package/dist/{components → lib/components}/Atoms/InformationIcon/index.js +0 -0
  30. package/dist/lib/components/Atoms/Input/Input.stories.js +60 -0
  31. package/dist/{components → lib/components}/Atoms/Input/index.js +0 -0
  32. package/dist/lib/components/Atoms/NavItem/NavItem.stories.js +115 -0
  33. package/dist/{components → lib/components}/Atoms/NavItem/index.js +0 -0
  34. package/dist/lib/components/Atoms/Row/Row.stories.js +33 -0
  35. package/dist/{components → lib/components}/Atoms/Row/index.js +0 -0
  36. package/dist/lib/components/Atoms/StarRating/StarRating.stories.js +41 -0
  37. package/dist/{components → lib/components}/Atoms/StarRating/index.css +0 -0
  38. package/dist/{components → lib/components}/Atoms/StarRating/index.js +0 -0
  39. package/dist/lib/components/Atoms/TextAndTitle/TextAndTitle.stories.js +66 -0
  40. package/dist/{components → lib/components}/Atoms/TextAndTitle/index.js +0 -0
  41. package/dist/lib/components/Atoms/Tubestops/Tubestops.stories.js +57 -0
  42. package/dist/{components → lib/components}/Atoms/Tubestops/index.js +0 -0
  43. package/dist/{components → lib/components}/Atoms/Tubestops/styles.css +0 -0
  44. package/dist/lib/components/Atoms/Video/Video.stories.js +50 -0
  45. package/dist/{components → lib/components}/Atoms/Video/index.js +0 -0
  46. package/dist/lib/components/Organisms/Accordion/Accordion.stories.js +103 -0
  47. package/dist/{components → lib/components}/Organisms/Accordion/index.js +0 -0
  48. package/dist/lib/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +125 -0
  49. package/dist/{components → lib/components}/Organisms/BreadcrumbsBordered/index.js +0 -0
  50. package/dist/{components → lib/components}/Organisms/Card/Card.stories.js +135 -128
  51. package/dist/{components → lib/components}/Organisms/Card/index.js +0 -0
  52. package/dist/lib/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +73 -0
  53. package/dist/{components → lib/components}/Organisms/CardWithTopImage/index.js +0 -0
  54. package/dist/{components → lib/components}/Organisms/CardWithTopImage/styles.css +0 -0
  55. package/dist/lib/components/Organisms/Carousel/Carousel.stories.js +130 -0
  56. package/dist/{components → lib/components}/Organisms/Carousel/index.css +0 -0
  57. package/dist/{components → lib/components}/Organisms/Carousel/index.js +0 -0
  58. package/dist/lib/components/Organisms/Chevron Card/ChevronCard.stories.js +28 -0
  59. package/dist/{components → lib/components}/Organisms/Chevron Card/index.js +0 -0
  60. package/dist/{components → lib/components}/Organisms/Chevron Card/styles.css +0 -0
  61. package/dist/lib/components/Organisms/Form/Form.stories.js +124 -0
  62. package/dist/{components → lib/components}/Organisms/Form/index.js +0 -0
  63. package/dist/lib/components/Organisms/FyreCard/FyreCard.stories.js +136 -0
  64. package/dist/{components → lib/components}/Organisms/FyreCard/index.js +0 -0
  65. package/dist/lib/components/Organisms/ImageLink/ImageLink.stories.js +87 -0
  66. package/dist/{components → lib/components}/Organisms/ImageLink/index.js +0 -0
  67. package/dist/lib/components/Organisms/ImageLinkList/ImageLinkList.stories.js +48 -0
  68. package/dist/{components → lib/components}/Organisms/ImageLinkList/index.js +0 -0
  69. package/dist/lib/components/Organisms/Jumbotron/Jumbotron.stories.js +55 -0
  70. package/dist/{components → lib/components}/Organisms/Jumbotron/index.js +0 -0
  71. package/dist/lib/components/Organisms/Nav/Nav.stories.js +113 -0
  72. package/dist/{components → lib/components}/Organisms/Nav/index.js +0 -0
  73. package/dist/lib/components/Organisms/NewsCard/NewsCard.stories.js +69 -0
  74. package/dist/{components → lib/components}/Organisms/NewsCard/index.js +0 -0
  75. package/dist/lib/components/Organisms/Profile/Profile.stories.js +94 -0
  76. package/dist/{components → lib/components}/Organisms/Profile/index.js +0 -0
  77. package/dist/lib/components/Organisms/Search/Search.stories.js +57 -0
  78. package/dist/{components → lib/components}/Organisms/Search/index.js +0 -0
  79. package/dist/lib/components/Organisms/Testimonial/Testimonial.stories.js +116 -0
  80. package/dist/{components → lib/components}/Organisms/Testimonial/index.js +0 -0
  81. package/dist/lib/components/Organisms/Timeline/Timeline.stories.js +77 -0
  82. package/dist/{components → lib/components}/Organisms/Timeline/index.js +0 -0
  83. package/dist/{components → lib/components}/Organisms/Timeline/styles.css +0 -0
  84. package/dist/lib/components/Organisms/UserIcon/UserIcon.stories.js +55 -0
  85. package/dist/{components → lib/components}/Organisms/UserIcon/index.js +0 -0
  86. package/dist/{index.js → lib/index.js} +0 -0
  87. package/dist/{utils → lib/utils}/controls.js +0 -0
  88. package/package.json +3 -3
  89. package/dist/components/Atoms/AlertBar/AlertBar.stories.js +0 -69
  90. package/dist/components/Atoms/Breadcrumbs/Breadcrumbs.stories.js +0 -41
  91. package/dist/components/Atoms/BreadcrumbsItem/BreadcrumbsItem.stories.js +0 -86
  92. package/dist/components/Atoms/Button/button.stories.js +0 -68
  93. package/dist/components/Atoms/Collapsible/Collapsible.stories.js +0 -144
  94. package/dist/components/Atoms/Column/Column.stories.js +0 -24
  95. package/dist/components/Atoms/Icon/Icon.stories.js +0 -21
  96. package/dist/components/Atoms/Image/Image.stories.js +0 -21
  97. package/dist/components/Atoms/InformationIcon/InformationIcon.stories.js +0 -95
  98. package/dist/components/Atoms/Input/Input.stories.js +0 -47
  99. package/dist/components/Atoms/NavItem/NavItem.stories.js +0 -100
  100. package/dist/components/Atoms/Row/Row.stories.js +0 -18
  101. package/dist/components/Atoms/StarRating/StarRating.stories.js +0 -22
  102. package/dist/components/Atoms/TextAndTitle/TextAndTitle.stories.js +0 -53
  103. package/dist/components/Atoms/Tubestops/Tubestops.stories.js +0 -49
  104. package/dist/components/Atoms/Video/Video.stories.js +0 -29
  105. package/dist/components/Organisms/Accordion/Accordion.stories.js +0 -99
  106. package/dist/components/Organisms/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +0 -122
  107. package/dist/components/Organisms/CardWithTopImage/CardWithTopImage.stories.js +0 -64
  108. package/dist/components/Organisms/Carousel/Carousel.stories.js +0 -111
  109. package/dist/components/Organisms/Chevron Card/ChevronCard.stories.js +0 -18
  110. package/dist/components/Organisms/Form/Form.stories.js +0 -118
  111. package/dist/components/Organisms/FyreCard/FyreCard.stories.js +0 -127
  112. package/dist/components/Organisms/ImageLink/ImageLink.stories.js +0 -64
  113. package/dist/components/Organisms/ImageLinkList/ImageLinkList.stories.js +0 -35
  114. package/dist/components/Organisms/Jumbotron/Jumbotron.stories.js +0 -42
  115. package/dist/components/Organisms/Nav/Nav.stories.js +0 -103
  116. package/dist/components/Organisms/NewsCard/NewsCard.stories.js +0 -56
  117. package/dist/components/Organisms/Profile/Profile.stories.js +0 -85
  118. package/dist/components/Organisms/Search/Search.stories.js +0 -44
  119. package/dist/components/Organisms/Testimonial/Testimonial.stories.js +0 -103
  120. package/dist/components/Organisms/Timeline/Timeline.stories.js +0 -73
  121. package/dist/components/Organisms/UserIcon/UserIcon.stories.js +0 -41
@@ -1,64 +0,0 @@
1
- import React from 'react'
2
- import Column from '../../Atoms/Column';
3
- import ImageLink from './index'
4
-
5
- export default {
6
- title: 'Trepur Components/Organisms/Image Link',
7
- components: ImageLink,
8
- parameters: {},
9
- argTypes: {
10
- title: {
11
- description: '',
12
- control: 'text',
13
- table: {
14
- category: '',
15
- },
16
- },
17
- image: {
18
- description: '',
19
- control: 'text',
20
- table: {
21
- category: '',
22
- },
23
- },
24
- ctaText: {
25
- description: '',
26
- control: 'text',
27
- table: {
28
- category: '',
29
- },
30
- },
31
- rounded: {
32
- description: '',
33
- control: 'boolean',
34
- table: {
35
- category: '',
36
- },
37
- }
38
- },
39
- args: {
40
- image: 'https://picsum.photos/400/400',
41
- },
42
- }
43
-
44
- const Template = (args) => <Column sm={3} md={3}><ImageLink {...args} /></Column>
45
-
46
- export const _ImageLink = Template.bind({});
47
- _ImageLink.args = {};
48
-
49
- export const _ImageLinkWithTitle = Template.bind({});
50
- _ImageLinkWithTitle.args = {
51
- title: 'Title'
52
- };
53
-
54
- export const _ImageLinkWithButton = Template.bind({});
55
- _ImageLinkWithButton.args = {
56
- ctaText: 'Button 1',
57
- };
58
-
59
- export const _ImageLinkRounded = Template.bind({});
60
- _ImageLinkRounded.args = {
61
- title: 'Title',
62
- ctaText: 'Button 1',
63
- rounded: true,
64
- };
@@ -1,35 +0,0 @@
1
- import React from 'react'
2
- import ImageLinkList from './index'
3
-
4
- const getLinks = () => {
5
- return new Array(16).fill(null).map(() => {
6
- return {
7
- image: "https://picsum.photos/400/400",
8
- title: 'Hi',
9
- ctaText: 'button'
10
- }
11
- })
12
- }
13
-
14
- export default {
15
- title: 'Trepur Components/Organisms/Image Link List',
16
- components: ImageLinkList,
17
- parameters: {},
18
- argTypes: {
19
- list: {
20
- description: '',
21
- control: 'array',
22
- table: {
23
- category: '',
24
- },
25
- },
26
- },
27
- args: {
28
- items: getLinks()
29
- }
30
- }
31
-
32
- const Template = (args) => <ImageLinkList {...args} />;
33
-
34
- export const _ImageLinkList = Template.bind({});
35
- _ImageLinkList.args = {};
@@ -1,42 +0,0 @@
1
- import React from 'react'
2
- import Jumbotron from './index'
3
-
4
- export default {
5
- title: 'Trepur Components/Organisms/Jumbotron',
6
- component: Jumbotron,
7
- parameters: {},
8
- argTypes: {
9
- text: {
10
- description: 'The text the appears as an overlay on the Jumbotron',
11
- control: 'text',
12
- table: {
13
- category: ''
14
- }
15
- },
16
- ctaText: {
17
- description: 'The text of the first/left button',
18
- control: 'text',
19
- table: {
20
- category: ''
21
- }
22
- },
23
- ctaText2: {
24
- description: 'The text on the second/last button',
25
- control: 'text',
26
- table: {
27
- category: ''
28
- }
29
- },
30
- },
31
- args: {
32
- text: 'This is some text',
33
- ctaText: 'Button 1',
34
- ctaText2: 'Button 2',
35
- image: 'https://picsum.photos/1500/400'
36
- }
37
- }
38
-
39
- const Template = (args) => <Jumbotron {...args} />;
40
-
41
- export const _Jumbotron = Template.bind({});
42
- _Jumbotron.args = {};
@@ -1,103 +0,0 @@
1
- import React from 'react'
2
- import Nav from './index'
3
- import logo from '../../../Assets/Images/logoWhite.png'
4
- import {
5
- navRowOneOfTwo,
6
- navRowTwoOfTwo,
7
- navThirdRow,
8
- navMobileItems
9
- } from '../../../utils/controls'
10
-
11
- export default {
12
- title: 'Trepur Components/Organisms/Nav',
13
- component: Nav,
14
- parameters: {},
15
- argTypes: {
16
- firstRow: {
17
- description: '',
18
- control: 'array',
19
- table: {
20
- category: '',
21
- }
22
- },
23
- secondRow: {
24
- description: '',
25
- control: 'array',
26
- table: {
27
- category: '',
28
- }
29
- },
30
- thirdRow: {
31
- description: '',
32
- control: 'array',
33
- table: {
34
- category: '',
35
- }
36
- },
37
- mobileItems: {
38
- description: '',
39
- control: 'array',
40
- table: {
41
- category: '',
42
- }
43
- },
44
- bgColor: {
45
- description: '',
46
- control: 'color',
47
- table: {
48
- category: 'Colors',
49
- }
50
- },
51
- logo: {
52
- description: '',
53
- control: 'string',
54
- table: {
55
- category: '',
56
- }
57
- },
58
- mobileLogo: {
59
- description: '',
60
- control: 'string',
61
- table: {
62
- category: '',
63
- }
64
- },
65
- dropdownNavHeight: {
66
- description: '',
67
- control: 'number',
68
- table: {
69
- category: '',
70
- }
71
- },
72
- asSideBar: {
73
- description: 'requires sideBarWidth val',
74
- control: 'boolean',
75
- table: {
76
- category: '',
77
- }
78
- },
79
- sideBarWidth: {
80
- description: '',
81
- control: 'number',
82
- table: {
83
- category: '',
84
- }
85
- }
86
- },
87
- args: {
88
- firstRow: navRowOneOfTwo,
89
- secondRow: navRowTwoOfTwo,
90
- thirdRow: navThirdRow,
91
- mobileItems: navMobileItems,
92
- bgColor: '#38B6FF',
93
- logo: logo,
94
- mobileLogo: logo,
95
- dropdownNavHeight: '450',
96
- sideBarWidth: '250'
97
- },
98
- }
99
-
100
- const Template = (args) => <Nav {...args} />;
101
-
102
- export const _Nav = Template.bind({});
103
- _Nav.args = {};
@@ -1,56 +0,0 @@
1
- import React from 'react'
2
- import NewsCard from './index';
3
-
4
- export default {
5
- title: 'Trepur Components/Organisms/News Card',
6
- components: NewsCard,
7
- parameters: {},
8
- argTypes: {
9
- title: {
10
- description: '',
11
- control: 'text',
12
- table: {
13
- category: ''
14
- }
15
- },
16
- content: {
17
- description: '',
18
- control: 'text',
19
- table: {
20
- category: ''
21
- }
22
- },
23
- boldTitle: {
24
- description: '',
25
- control: 'boolean',
26
- table: {
27
- category: ''
28
- }
29
- },
30
- rounded: {
31
- description: '',
32
- control: 'boolean',
33
- table: {
34
- category: ''
35
- }
36
- },
37
- ctaText: {
38
- description: 'Remove text to remove button',
39
- control: 'text',
40
- table: {
41
- category: ''
42
- }
43
- }
44
- },
45
- args: {
46
- title: 'This is a title',
47
- content: 'This is some content that will only be displayed if the collapsible item is expanded and will dissappear when the collapsible item is collapsed.',
48
- image: 'https://picsum.photos/400/200',
49
- ctaText: 'Button 1'
50
- },
51
- }
52
-
53
- const Template = (args) => <NewsCard {...args} />;
54
-
55
- export const _NewsCard = Template.bind({});
56
- _NewsCard.args = {};
@@ -1,85 +0,0 @@
1
- import React from 'react'
2
- import Profile from './index'
3
- import userImage from '../../../Assets/Images/user.jpeg'
4
-
5
- const links = [
6
- {
7
- link: '#',
8
- name: 'Link 1'
9
- },
10
- {
11
- link: '#',
12
- name: 'Link 2'
13
- },
14
- {
15
- link: '#',
16
- name: 'Link 3'
17
- },
18
- ]
19
-
20
- export default {
21
- title: 'Trepur Components/Organisms/Profile',
22
- components: Profile,
23
- parameters: {},
24
- argTypes: {
25
- imageWidth: {
26
- description: '',
27
- control: 'text',
28
- table: {
29
- category: ''
30
- }
31
- },
32
- imageHeight: {
33
- description: '',
34
- control: 'text',
35
- table: {
36
- category: ''
37
- }
38
- },
39
- alignment: {
40
- description: '',
41
- control: 'select',
42
- options: ['left', 'center', 'right'],
43
- table: {
44
- category: ''
45
- }
46
- },
47
- rounded: {
48
- description: '',
49
- control: 'boolean',
50
- table: {
51
- category: ''
52
- }
53
- },
54
- bordered: {
55
- description: '',
56
- control: 'boolean',
57
- table: {
58
- category: ''
59
- }
60
- },
61
- userImage: {
62
- description: '',
63
- control: 'text',
64
- table: {
65
- category: ''
66
- }
67
- },
68
- profileLinks: {
69
- description: '',
70
- control: 'text',
71
- table: {
72
- category: ''
73
- }
74
- }
75
- },
76
- args: {
77
- profileLinks: links ,
78
- userImage: userImage
79
- }
80
- }
81
-
82
- const Template = (args) => <Profile {...args} />;
83
-
84
- export const _Profile = Template.bind({});
85
- _Profile.args = {};
@@ -1,44 +0,0 @@
1
- import React from 'react'
2
- import Search from './index'
3
-
4
- export default {
5
- title: 'Trepur Components/Organisms/Search',
6
- component: Search,
7
- parameters: {},
8
- argTypes: {
9
- leftIcon: {
10
- description: 'An optional param to display an icon to the left of the search bar',
11
- control: 'text',
12
- table: {
13
- category: ''
14
- }
15
- },
16
- rightIcon: {
17
- description: 'An optional param to display an icon to the right of the search bar',
18
- control: 'text',
19
- table: {
20
- category: ''
21
- }
22
- },
23
- placeholder: {
24
- description: 'An optional param to display a placeholder inside the search box',
25
- control: 'text',
26
- table: {
27
- category: ''
28
- }
29
- },
30
- text: {
31
- description: 'An optional param to display a label on the left of the search bar',
32
- control: 'text',
33
- table: {
34
- category: ''
35
- }
36
- },
37
- },
38
- args: {}
39
- }
40
-
41
- const Template = (args) => <Search {...args} />;
42
-
43
- export const _Search = Template.bind({});
44
- _Search.args = {};
@@ -1,103 +0,0 @@
1
- import React from 'react'
2
- import Testimonial from './index'
3
-
4
- export default {
5
- title: 'Trepur Components/Organisms/Testimonial',
6
- component: Testimonial,
7
- parameters: {},
8
- argTypes: {
9
- text: {
10
- description: '',
11
- control: 'text',
12
- table: {
13
- category: ''
14
- }
15
- },
16
- companyName: {
17
- description: '',
18
- control: 'text',
19
- table: {
20
- category: ''
21
- }
22
- },
23
- positionStartDate: {
24
- description: '',
25
- control: 'text',
26
- table: {
27
- category: ''
28
- }
29
- },
30
- positionEndDate: {
31
- description: '',
32
- control: 'text',
33
- table: {
34
- category: ''
35
- }
36
- },
37
- position: {
38
- description: '',
39
- control: 'text',
40
- table: {
41
- category: ''
42
- }
43
- },
44
- date: {
45
- description: '',
46
- control: 'text',
47
- table: {
48
- category: ''
49
- }
50
- },
51
- authorsName: {
52
- description: '',
53
- control: 'text',
54
- table: {
55
- category: ''
56
- }
57
- },
58
- authorsPosition: {
59
- description: '',
60
- control: 'text',
61
- table: {
62
- category: ''
63
- }
64
- },
65
- bgColor: {
66
- description: '',
67
- control: 'color',
68
- table: {
69
- category: 'Colors'
70
- }
71
- },
72
- textColor: {
73
- description: '',
74
- control: 'color',
75
- table: {
76
- category: 'Colors'
77
- }
78
- },
79
- image: {
80
- description: '',
81
- control: 'text',
82
- table: {
83
- category: ''
84
- }
85
- },
86
- },
87
- args: {
88
- image: 'https://picsum.photos/100/100',
89
- authorsName: 'Authors Name',
90
- authorsPosition: 'Authors Position',
91
- position: 'Position',
92
- positionEndDate: 'End Date',
93
- positionStartDate: 'Start Date',
94
- date: 'Date',
95
- companyName: 'Company Name',
96
- text: 'This is some text'
97
- }
98
- }
99
-
100
- const Template = (args) => <Testimonial {...args} />;
101
-
102
- export const _Testimonial = Template.bind({});
103
- _Testimonial.args = {};
@@ -1,73 +0,0 @@
1
- import React from 'react'
2
- import Timeline from './index'
3
-
4
- export default {
5
- title: 'Trepur Components/Organisms/Timeline',
6
- component: Timeline,
7
- parameters: {},
8
- argTypes: {
9
- isHorizontal: {
10
- description: '',
11
- control: 'boolean',
12
- table: {
13
- category: '',
14
- },
15
- },
16
- useImages: {
17
- description: '',
18
- control: 'boolean',
19
- table: {
20
- category: '',
21
- },
22
- },
23
- items: {
24
- description: '',
25
- control: 'array',
26
- table: {
27
- category: '',
28
- },
29
- }
30
- },
31
- args: {
32
- isHorizontal: false,
33
- reverse: false,
34
- items: [
35
- {
36
- title: 'This is a title',
37
- subtitle: 'This is a subtitle'
38
- },
39
- {
40
- title: 'This is a title',
41
- subtitle: 'This is a subtitle'
42
- },
43
- {
44
- title: 'This is a title',
45
- subtitle: 'This is a subtitle'
46
- },
47
- {
48
- title: 'This is a title',
49
- subtitle: 'This is a subtitle'
50
- },
51
- {
52
- title: 'This is a title',
53
- subtitle: 'This is a subtitle'
54
- },
55
- {
56
- title: 'This is a title',
57
- subtitle: 'This is a subtitle'
58
- },
59
- {
60
- title: 'This is a title',
61
- subtitle: 'This is a subtitle'
62
- }
63
- ],
64
- textCenter: true,
65
- useImages: false
66
- }
67
- }
68
-
69
-
70
- const Template = (args) => <Timeline {...args} />;
71
-
72
- export const _Timeline = Template.bind({});
73
- _Timeline.args = {};
@@ -1,41 +0,0 @@
1
- import React from 'react'
2
- import UserIcon from './index'
3
- import userImage from '../../../Assets/Images/user.jpeg'
4
-
5
- export default {
6
- title: 'Trepur Components/Organisms/User Icon',
7
- components: UserIcon,
8
- argTypes: {
9
- icon: {
10
- description: '',
11
- control: 'text',
12
- table: {
13
- category: ''
14
- }
15
- },
16
- name: {
17
- description: '',
18
- control: 'text',
19
- table: {
20
- category: ''
21
- }
22
- },
23
- description: {
24
- description: '',
25
- control: 'text',
26
- table: {
27
- category: ''
28
- }
29
- }
30
- },
31
- args: {
32
- icon: userImage,
33
- name: 'Someones name',
34
- description: 'someone info'
35
- }
36
- }
37
-
38
- const Template = (args) => <UserIcon {...args} />;
39
-
40
- export const _UserIcon = Template.bind({});
41
- _UserIcon.args = {};