Example custom element two
Example custom element
@@ -275,10 +255,7 @@ export const PickerWithOptionsAsCustomElements = (): React.ReactElement => (
),
selectedItemBody: (
-
+
Example element two
),
diff --git a/packages/react-components/src/components/Picker/constants.tsx b/packages/react-components/src/components/Picker/constants.tsx
index 1efd7f88c..1450814a0 100644
--- a/packages/react-components/src/components/Picker/constants.tsx
+++ b/packages/react-components/src/components/Picker/constants.tsx
@@ -1,5 +1,6 @@
import { DayMode } from '@livechat/design-system-icons';
+import image from '../../stories/assets/avatar.jpg';
import { Icon } from '../Icon';
import { TagKind } from '../Tag';
@@ -87,7 +88,7 @@ export const DEFAULT_MORE_PICKER_OPTIONS: IPickerListItem[] = [
{
key: 'four',
name: 'Option with avatar',
- avatarSrc: 'https://avatars2.githubusercontent.com/u/29309941?s=88&v=4',
+ avatarSrc: image,
},
];
diff --git a/packages/react-components/src/components/Tag/Tag.stories.tsx b/packages/react-components/src/components/Tag/Tag.stories.tsx
index 23cf6ddd6..67a82cc03 100644
--- a/packages/react-components/src/components/Tag/Tag.stories.tsx
+++ b/packages/react-components/src/components/Tag/Tag.stories.tsx
@@ -3,6 +3,7 @@ import * as React from 'react';
import * as TablerIcons from '@livechat/design-system-icons';
import { Meta } from '@storybook/react';
+import image from '../../stories/assets/avatar.jpg';
import { StoryDescriptor } from '../../stories/components/StoryDescriptor';
import noop from '../../utils/noop';
import { Icon } from '../Icon';
@@ -15,9 +16,7 @@ const exampleIcon =
;
const exampleAvatar = (
diff --git a/packages/react-components/src/stories/assets/avatar.jpg b/packages/react-components/src/stories/assets/avatar.jpg
new file mode 100644
index 000000000..0bb57ea0b
Binary files /dev/null and b/packages/react-components/src/stories/assets/avatar.jpg differ
diff --git a/packages/react-components/src/stories/assets/folder.svg b/packages/react-components/src/stories/assets/folder.svg
new file mode 100644
index 000000000..af77ee207
--- /dev/null
+++ b/packages/react-components/src/stories/assets/folder.svg
@@ -0,0 +1,5 @@
+