@xqmsg/ui-core 0.21.5 → 0.21.6

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.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.21.5",
2
+ "version": "0.21.6",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -33,6 +33,7 @@ import { Vault } from './vault';
33
33
  import { Question } from './question';
34
34
  import { Video } from './video';
35
35
  import { Page } from './page';
36
+ import { Workspace } from './workspace';
36
37
 
37
38
  export {
38
39
  Checkmark,
@@ -70,4 +71,5 @@ export {
70
71
  Vault,
71
72
  Video,
72
73
  Warning,
74
+ Workspace,
73
75
  };
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { Image } from '@chakra-ui/react';
3
+ import path from './workspace.png';
4
+
5
+ export interface WorkspaceProps {
6
+ boxSize: number | string;
7
+ }
8
+
9
+ /**
10
+ * A functional React component utilized to render the `Workspace` icon component
11
+ */
12
+ export const Workspace: React.FC<WorkspaceProps> = ({ boxSize }) => {
13
+ return <Image src={path} boxSize={boxSize} />;
14
+ };