trepur_components 0.1.42 → 0.2.1

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 (117) hide show
  1. package/dist/Accordion/index.js +46 -0
  2. package/dist/AlertBar/index.js +66 -0
  3. package/dist/{components/Breadcrumbs → Breadcrumbs}/index.js +2 -0
  4. package/dist/{components/BreadcrumbsBordered → BreadcrumbsBordered}/index.js +4 -2
  5. package/dist/BreadcrumbsItem/index.css +42 -0
  6. package/dist/{components/BreadcrumbsBorderedItem → BreadcrumbsItem}/index.js +2 -0
  7. package/dist/{components/Button → Button}/Styles.css +0 -0
  8. package/dist/{components/Button → Button}/index.js +28 -24
  9. package/dist/{components/Card → Card}/index.js +38 -2
  10. package/dist/CardWithTopImage/index.js +59 -0
  11. package/dist/CardWithTopImage/styles.css +3 -0
  12. package/dist/Carousel/index.css +7 -0
  13. package/dist/{components/Carousel → Carousel}/index.js +5 -2
  14. package/dist/Chevron Card/index.js +60 -0
  15. package/dist/Chevron Card/styles.css +0 -0
  16. package/dist/Collapsible/index.js +111 -0
  17. package/dist/{components/Column → Column}/index.js +22 -4
  18. package/dist/{components/Form → Form}/index.js +6 -4
  19. package/dist/{components/Input → FyreCard}/index.js +34 -30
  20. package/dist/{components/Icon → Icon}/index.js +2 -0
  21. package/dist/Image/index.js +66 -0
  22. package/dist/ImageLink/index.js +45 -0
  23. package/dist/ImageLinkList/index.js +33 -0
  24. package/dist/{components/InformationIcon → InformationIcon}/index.js +3 -2
  25. package/dist/Input/index.js +40 -0
  26. package/dist/{components/Jumbotron → Jumbotron}/index.js +8 -6
  27. package/dist/{components/Nav → Nav}/index.js +77 -42
  28. package/dist/{components/NavItem → NavItem}/index.js +7 -6
  29. package/dist/NewsCard/index.js +73 -0
  30. package/dist/{components/Profile → Profile}/index.js +10 -7
  31. package/dist/Row/index.js +35 -0
  32. package/dist/{components/Search → Search}/index.js +22 -13
  33. package/dist/StarRating/index.css +8 -0
  34. package/dist/{components/StarRating → StarRating}/index.js +2 -2
  35. package/dist/{components/Testimonial → Testimonial}/index.js +2 -0
  36. package/dist/{components/TextAndTitle → TextAndTitle}/index.js +10 -2
  37. package/dist/Timeline/index.js +127 -0
  38. package/dist/Timeline/styles.css +89 -0
  39. package/dist/Tubestops/index.js +59 -0
  40. package/dist/Tubestops/styles.css +92 -0
  41. package/dist/{components/UserIcon → UserIcon}/index.js +2 -0
  42. package/dist/Video/index.js +57 -0
  43. package/package.json +27 -24
  44. package/dist/Assets/Images/logoBlue.png +0 -0
  45. package/dist/Assets/Images/logoBlueBorder.png +0 -0
  46. package/dist/Assets/Images/logoWhite.png +0 -0
  47. package/dist/Assets/Images/logoWhiteBorder.png +0 -0
  48. package/dist/Assets/Images/user.jpeg +0 -0
  49. package/dist/components/Accordion/Accordion.stories.js +0 -64
  50. package/dist/components/Accordion/README.md +0 -29
  51. package/dist/components/Accordion/index.js +0 -40
  52. package/dist/components/AlertBar/AlertBar.stories.js +0 -128
  53. package/dist/components/AlertBar/README.md +0 -19
  54. package/dist/components/AlertBar/index.js +0 -43
  55. package/dist/components/Breadcrumbs/Breadcrumbs.stories.js +0 -60
  56. package/dist/components/Breadcrumbs/README.md +0 -28
  57. package/dist/components/BreadcrumbsBordered/BreadcrumbsBordered.stories.js +0 -73
  58. package/dist/components/BreadcrumbsBordered/README.md +0 -28
  59. package/dist/components/BreadcrumbsBorderedItem/BreadcrumbsBorderedItem.stories.js +0 -57
  60. package/dist/components/BreadcrumbsBorderedItem/README.md +0 -28
  61. package/dist/components/BreadcrumbsBorderedItem/index.css +0 -57
  62. package/dist/components/Button/Button.stories.js +0 -389
  63. package/dist/components/Button/README.md +0 -36
  64. package/dist/components/Card/Card.stories.js +0 -353
  65. package/dist/components/Card/README.md +0 -44
  66. package/dist/components/CardImageLink/CardImageLink.stories.js +0 -115
  67. package/dist/components/CardImageLink/README.md +0 -1
  68. package/dist/components/CardImageLink/index.js +0 -49
  69. package/dist/components/CardImageLinkList/CardImageLinkList.stories.js +0 -63
  70. package/dist/components/CardImageLinkList/README.md +0 -1
  71. package/dist/components/CardImageLinkList/index.js +0 -48
  72. package/dist/components/Carousel/Carousel.stories.js +0 -124
  73. package/dist/components/Carousel/README.md +0 -22
  74. package/dist/components/Carousel/index.css +0 -7
  75. package/dist/components/Collapsible/Collapsible.stories.js +0 -101
  76. package/dist/components/Collapsible/README.md +0 -19
  77. package/dist/components/Collapsible/index.js +0 -58
  78. package/dist/components/Column/Column.stories.js +0 -168
  79. package/dist/components/Column/README.md +0 -23
  80. package/dist/components/Form/Form.stories.js +0 -59
  81. package/dist/components/Form/README.md +0 -16
  82. package/dist/components/Icon/Icon.stories.js +0 -68
  83. package/dist/components/Icon/README.md +0 -12
  84. package/dist/components/Image/Image.stories.js +0 -62
  85. package/dist/components/Image/README.md +0 -12
  86. package/dist/components/Image/index.js +0 -31
  87. package/dist/components/InformationIcon/InformationIcon.stories.js +0 -122
  88. package/dist/components/InformationIcon/README.md +0 -23
  89. package/dist/components/Input/Input.stories.js +0 -58
  90. package/dist/components/Input/README.md +0 -23
  91. package/dist/components/Jumbotron/Jumbotron.stories.js +0 -118
  92. package/dist/components/Jumbotron/README.md +0 -24
  93. package/dist/components/ListItem/ListItem.stories.js +0 -50
  94. package/dist/components/ListItem/README.md +0 -17
  95. package/dist/components/ListItem/index.js +0 -25
  96. package/dist/components/ListItemDropdown/ListItemDropdown.stories.js +0 -50
  97. package/dist/components/ListItemDropdown/README.md +0 -16
  98. package/dist/components/ListItemDropdown/index.js +0 -56
  99. package/dist/components/Nav/Nav.stories.js +0 -320
  100. package/dist/components/Nav/README.md +0 -45
  101. package/dist/components/NavItem/NavItem.stories.js +0 -150
  102. package/dist/components/NavItem/README.md +0 -36
  103. package/dist/components/Profile/Profile.stories.js +0 -86
  104. package/dist/components/Profile/README.md +0 -17
  105. package/dist/components/Profile/user.jpeg +0 -0
  106. package/dist/components/Search/README.md +0 -21
  107. package/dist/components/Search/Search.stories.js +0 -122
  108. package/dist/components/StarRating/README.md +0 -12
  109. package/dist/components/StarRating/StarRating.stories.js +0 -79
  110. package/dist/components/StarRating/index.css +0 -8
  111. package/dist/components/Testimonial/README.md +0 -22
  112. package/dist/components/Testimonial/Testimonial.stories.js +0 -125
  113. package/dist/components/TextAndTitle/README.md +0 -14
  114. package/dist/components/TextAndTitle/TextAndTitle.stories.js +0 -66
  115. package/dist/components/UserIcon/README.md +0 -18
  116. package/dist/components/UserIcon/UserIcon.stories.js +0 -38
  117. package/dist/index.js +0 -223
@@ -1,17 +0,0 @@
1
- # Profile
2
-
3
- A profile icon with a dropdown menu, used for navigational purposes
4
- ## Example
5
-
6
- ```
7
- <Profile
8
- profileLinks={links}
9
- userImage={userImage}
10
- />
11
- ```
12
-
13
- ## Parameters
14
- `profileLinks={string} (default=null)`
15
- `alignRight={function} (default=null)`
16
- `alignLeft={string} (default=null)`
17
- `userImage={string} (default=null)`
Binary file
@@ -1,21 +0,0 @@
1
- # Search
2
-
3
- A search box which can be displayed with a label or icon
4
-
5
- ## Example
6
-
7
- ```
8
- <Search
9
- placeholder={args.placeholder}
10
- text={args.text}
11
- leftIcon={args.leftIcon}>
12
- </Search>
13
- ```
14
-
15
- ## Parameters
16
- `className={string} (default=null)`
17
- `onChange={function} (default=null)`
18
- `placeholder={string} (default=null)`
19
- `text={string} (default=null)`
20
- `leftIcon={string} (default=null)`
21
- `rightIcon={string} (default=null)`
@@ -1,122 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports._Search = exports.SearchWithRightIcon = exports.SearchWithLeftIcon = exports.SearchWithLabel = exports.SearchWithBothIconsAndLabel = exports.SearchWithBothIcons = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _README = _interopRequireDefault(require("./README.md"));
11
-
12
- var _index = _interopRequireDefault(require("./index"));
13
-
14
- require("../../../index.css");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- var _default = {
19
- title: 'Components/Search',
20
- argTypes: {
21
- leftIcon: {
22
- name: 'Left Icon',
23
- description: 'An optional param to display an icon to the left of the search bar',
24
- control: {
25
- type: 'text'
26
- },
27
- defaultValue: 'search'
28
- },
29
- rightIcon: {
30
- name: 'Right Icon',
31
- description: 'An optional param to display an icon to the right of the search bar',
32
- control: {
33
- type: 'text'
34
- },
35
- defaultValue: 'star'
36
- },
37
- placeholder: {
38
- name: 'Placeholder',
39
- description: 'An optional param to display a placeholder inside the search box',
40
- control: {
41
- type: 'text'
42
- },
43
- defaultValue: 'search'
44
- },
45
- text: {
46
- name: 'Label Text',
47
- description: 'An optional param to display a label on the left of the search bar',
48
- control: {
49
- type: 'text'
50
- },
51
- defaultValue: 'search for an item'
52
- }
53
- },
54
- decorators: [story => /*#__PURE__*/_react.default.createElement("div", {
55
- className: "p-4"
56
- }, story())],
57
- parameters: {
58
- readme: {
59
- sidebar: _README.default
60
- }
61
- }
62
- };
63
- exports.default = _default;
64
-
65
- const _Search = args => {
66
- return /*#__PURE__*/_react.default.createElement(_index.default, {
67
- placeholder: args.placeholder,
68
- text: args.text,
69
- leftIcon: args.leftIcon,
70
- rightIcon: args.rightIcon
71
- });
72
- };
73
-
74
- exports._Search = _Search;
75
-
76
- const SearchWithLabel = args => {
77
- return /*#__PURE__*/_react.default.createElement(_index.default, {
78
- placeholder: args.placeholder,
79
- text: args.text
80
- });
81
- };
82
-
83
- exports.SearchWithLabel = SearchWithLabel;
84
-
85
- const SearchWithLeftIcon = args => {
86
- return /*#__PURE__*/_react.default.createElement(_index.default, {
87
- placeholder: args.placeholder,
88
- leftIcon: args.leftIcon
89
- });
90
- };
91
-
92
- exports.SearchWithLeftIcon = SearchWithLeftIcon;
93
-
94
- const SearchWithRightIcon = args => {
95
- return /*#__PURE__*/_react.default.createElement(_index.default, {
96
- placeholder: args.placeholder,
97
- rightIcon: args.rightIcon
98
- });
99
- };
100
-
101
- exports.SearchWithRightIcon = SearchWithRightIcon;
102
-
103
- const SearchWithBothIcons = args => {
104
- return /*#__PURE__*/_react.default.createElement(_index.default, {
105
- placeholder: args.placeholder,
106
- leftIcon: args.leftIcon,
107
- rightIcon: args.rightIcon
108
- });
109
- };
110
-
111
- exports.SearchWithBothIcons = SearchWithBothIcons;
112
-
113
- const SearchWithBothIconsAndLabel = args => {
114
- return /*#__PURE__*/_react.default.createElement(_index.default, {
115
- placeholder: args.placeholder,
116
- leftIcon: args.leftIcon,
117
- rightIcon: args.rightIcon,
118
- text: "Search"
119
- });
120
- };
121
-
122
- exports.SearchWithBothIconsAndLabel = SearchWithBothIconsAndLabel;
@@ -1,12 +0,0 @@
1
- # Star Rating
2
-
3
- Specify the number of stars for the rating and it will display as colored stars
4
-
5
- ## Example
6
-
7
- ```
8
- <StarRating stars='3' size='5'/>
9
- ```
10
-
11
- ## Parameters
12
-
@@ -1,79 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports._StarRating = exports.UnspecifiedStars = exports.Large = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _README = _interopRequireDefault(require("./README.md"));
11
-
12
- var _index = _interopRequireDefault(require("./index"));
13
-
14
- require("../../../index.css");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- var _default = {
19
- title: 'Components/StarRating',
20
- argTypes: {
21
- type: {
22
- name: 'Type',
23
- description: 'The name of the icon you wish to use',
24
- control: {
25
- type: 'text'
26
- },
27
- defaultValue: 'search'
28
- },
29
- size: {
30
- name: 'Size',
31
- description: 'an integer between 1 and 5 to dictage the magnification of the icon',
32
- control: {
33
- type: 'number'
34
- },
35
- defaultValue: 1
36
- },
37
- stars: {
38
- name: 'Stars',
39
- description: 'an integer between 1 and 5 to dictage the magnification of the icon',
40
- control: {
41
- type: 'number'
42
- },
43
- defaultValue: 3
44
- }
45
- },
46
- decorators: [story => /*#__PURE__*/_react.default.createElement("div", {
47
- className: "p-4"
48
- }, story())],
49
- parameters: {
50
- readme: {
51
- content: _README.default
52
- }
53
- }
54
- };
55
- exports.default = _default;
56
-
57
- const _StarRating = args => {
58
- return /*#__PURE__*/_react.default.createElement(_index.default, {
59
- stars: args.stars,
60
- size: args.size
61
- });
62
- };
63
-
64
- exports._StarRating = _StarRating;
65
-
66
- const Large = args => {
67
- return /*#__PURE__*/_react.default.createElement(_index.default, {
68
- stars: args.stars,
69
- size: 5
70
- });
71
- };
72
-
73
- exports.Large = Large;
74
-
75
- const UnspecifiedStars = args => {
76
- return /*#__PURE__*/_react.default.createElement(_index.default, null);
77
- };
78
-
79
- exports.UnspecifiedStars = UnspecifiedStars;
@@ -1,8 +0,0 @@
1
- .checked {
2
- color: orange
3
- }
4
-
5
- .unchecked {
6
- color: orange;
7
- opacity: 0.3
8
- }
@@ -1,22 +0,0 @@
1
- # Testimonial
2
-
3
-
4
-
5
- ## Example
6
-
7
- ```
8
- <Testimonial
9
- altText='image'
10
- image='https://picsum.photos/100/100'
11
- text={args.text}
12
- companyName={args.companyName}
13
- position={args.position}
14
- date={args.date}
15
- positionStartDate={args.positionStartDate}
16
- positionEndDate={args.positionEndDate}
17
- authorsName={args.authorsName}
18
- authorsPosition={args.authorsPosition}
19
- />
20
- ```
21
-
22
- ## Parameters
@@ -1,125 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports._Testimonial = exports.TestimonialWithColors = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _README = _interopRequireDefault(require("./README.md"));
11
-
12
- var _index = _interopRequireDefault(require("./index"));
13
-
14
- require("../../../index.css");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- var _default = {
19
- title: 'Components/Testimonial',
20
- argTypes: {
21
- text: {
22
- name: 'Text',
23
- control: {
24
- type: 'text'
25
- },
26
- defaultValue: "Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Tenetur excepturi beatae dicta. Dolorem explicabo, aspernatur enim, \n provident at tempore cum quibusdam voluptatem deserunt numquam ab fuga \n culpa perferendis ea aliquid. Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Voluptates maiores doloribus iure enim voluptate blanditiis cumque dignissimos! \n Quas praesentium sunt ducimus facere velit aut maiores, deserunt minima blanditiis \n atque cupiditate! Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Facilis eveniet libero quod ipsam numquam, vero nisi provident sit, alias officiis \n ullam ut, quos aliquid! Sapiente excepturi tenetur ad odit vitae. Lorem ipsum dolor \n sit amet consectetur adipisicing elit. Atque nam dignissimos error inventore iure \n ducimus dolor officiis cupiditate, odit, hic facilis quod eum ab. Recusandae provident \n veritatis praesentium mollitia sapiente."
27
- },
28
- companyName: {
29
- name: 'Company Name',
30
- control: {
31
- type: 'text'
32
- },
33
- defaultValue: 'Company Name'
34
- },
35
- positionStartDate: {
36
- name: 'Position Start Date',
37
- control: {
38
- type: 'text'
39
- },
40
- defaultValue: 'dd mm yyyy'
41
- },
42
- positionEndDate: {
43
- name: 'Position End Date',
44
- control: {
45
- type: 'text'
46
- },
47
- defaultValue: 'dd mm yyyy'
48
- },
49
- position: {
50
- name: 'Position',
51
- control: {
52
- type: 'text'
53
- },
54
- defaultValue: 'Position'
55
- },
56
- date: {
57
- name: 'Text',
58
- control: {
59
- type: 'text'
60
- },
61
- defaultValue: 'dd mm yyyy'
62
- },
63
- authorsName: {
64
- name: 'Author\'s Name',
65
- control: {
66
- type: 'text'
67
- },
68
- defaultValue: 'Author\'s Name'
69
- },
70
- authorsPosition: {
71
- name: 'Text',
72
- control: {
73
- type: 'text'
74
- },
75
- defaultValue: 'Author\'s Position'
76
- }
77
- },
78
- decorators: [story => /*#__PURE__*/_react.default.createElement("div", {
79
- className: "p-4"
80
- }, story())],
81
- parameters: {
82
- readme: {
83
- sidebar: _README.default
84
- }
85
- }
86
- };
87
- exports.default = _default;
88
-
89
- const _Testimonial = args => {
90
- return /*#__PURE__*/_react.default.createElement(_index.default, {
91
- altText: "image",
92
- image: "https://picsum.photos/100/100",
93
- text: args.text,
94
- companyName: args.companyName,
95
- position: args.position,
96
- date: args.date,
97
- positionStartDate: args.positionStartDate,
98
- positionEndDate: args.positionEndDate,
99
- authorsName: args.authorsName,
100
- authorsPosition: args.authorsPosition
101
- });
102
- };
103
-
104
- exports._Testimonial = _Testimonial;
105
-
106
- const TestimonialWithColors = args => {
107
- return /*#__PURE__*/_react.default.createElement(_index.default, {
108
- classNames: "py-4 px-4",
109
- imageClassNames: "mb-8",
110
- altText: "image",
111
- image: "https://picsum.photos/100/100",
112
- text: args.text,
113
- companyName: args.companyName,
114
- position: args.position,
115
- date: args.date,
116
- positionStartDate: args.positionStartDate,
117
- positionEndDate: args.positionEndDate,
118
- authorsName: args.authorsName,
119
- authorsPosition: args.authorsPosition,
120
- bgColor: "#38B6FF",
121
- textColor: "white"
122
- });
123
- };
124
-
125
- exports.TestimonialWithColors = TestimonialWithColors;
@@ -1,14 +0,0 @@
1
- # Text and Title
2
-
3
- A simple component to display a title with some text
4
-
5
- ## Example
6
-
7
- ```
8
- <TextAndTitle
9
- title={title}
10
- text={text}
11
- />
12
- ```
13
-
14
- ## Parameters
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports._TextAndTitle = exports.WithColors = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _README = _interopRequireDefault(require("./README.md"));
11
-
12
- var _index = _interopRequireDefault(require("./index"));
13
-
14
- require("../../../index.css");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
- var _default = {
19
- title: 'Components/TextAndTitle',
20
- argTypes: {
21
- text: {
22
- name: 'Text',
23
- control: {
24
- type: 'text'
25
- },
26
- defaultValue: "Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Tenetur excepturi beatae dicta. Dolorem explicabo, aspernatur enim, \n provident at tempore cum quibusdam voluptatem deserunt numquam ab fuga \n culpa perferendis ea aliquid. Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Voluptates maiores doloribus iure enim voluptate blanditiis cumque dignissimos! \n Quas praesentium sunt ducimus facere velit aut maiores, deserunt minima blanditiis \n atque cupiditate! Lorem ipsum dolor sit amet consectetur adipisicing elit. \n Facilis eveniet libero quod ipsam numquam, vero nisi provident sit, alias officiis \n ullam ut, quos aliquid! Sapiente excepturi tenetur ad odit vitae. Lorem ipsum dolor \n sit amet consectetur adipisicing elit. Atque nam dignissimos error inventore iure \n ducimus dolor officiis cupiditate, odit, hic facilis quod eum ab. Recusandae provident \n veritatis praesentium mollitia sapiente."
27
- },
28
- title: {
29
- name: 'Company Name',
30
- control: {
31
- type: 'text'
32
- },
33
- defaultValue: 'Title'
34
- }
35
- },
36
- decorators: [story => /*#__PURE__*/_react.default.createElement("div", {
37
- className: "p-4"
38
- }, story())],
39
- parameters: {
40
- readme: {
41
- sidebar: _README.default
42
- }
43
- }
44
- };
45
- exports.default = _default;
46
-
47
- const _TextAndTitle = args => {
48
- return /*#__PURE__*/_react.default.createElement(_index.default, {
49
- title: args.title,
50
- text: args.text
51
- });
52
- };
53
-
54
- exports._TextAndTitle = _TextAndTitle;
55
-
56
- const WithColors = args => {
57
- return /*#__PURE__*/_react.default.createElement(_index.default, {
58
- classNames: "py-4 px-4",
59
- text: args.text,
60
- title: args.title,
61
- bgColor: "#38B6FF",
62
- textColor: "white"
63
- });
64
- };
65
-
66
- exports.WithColors = WithColors;
@@ -1,18 +0,0 @@
1
- # User Icon
2
-
3
- An icon of a given user along with a small amount of information
4
-
5
- ## Example
6
-
7
- ```
8
- <UserIcon
9
- icon={userImage}
10
- name='This is a name'
11
- description= 'this is a description'
12
- />
13
- ```
14
-
15
- ## Parameters
16
- `icon={string} (default=null)`
17
- `name={string} (default=null)`
18
- `description={string} (default=null)`
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports._UserIcon = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _index = _interopRequireDefault(require("./index"));
11
-
12
- var _user = _interopRequireDefault(require("../../Assets/Images/user.jpeg"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
- var _default = {
17
- title: 'Components/UserIcon',
18
- argTypes: {},
19
- decorators: [story => /*#__PURE__*/_react.default.createElement("div", {
20
- className: "p-4"
21
- }, story())],
22
- addParameters: {
23
- oprions: {
24
- showNav: false
25
- }
26
- }
27
- };
28
- exports.default = _default;
29
-
30
- const _UserIcon = args => {
31
- return /*#__PURE__*/_react.default.createElement(_index.default, {
32
- icon: _user.default,
33
- name: "This is a name",
34
- description: "this is a description"
35
- });
36
- };
37
-
38
- exports._UserIcon = _UserIcon;