File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
packages/main/src/components/ObjectStatus Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,39 @@ import { DocsCommonProps } from '@shared/stories/DocsCommonProps';
44
44
45
45
<br />
46
46
47
+ ## ObjectStatus with default icons
48
+
49
+ <Canvas >
50
+ <Story name = " None" args = { { state: ValueState .None , children: ` Value State: ${ValueState .None } ` }} >
51
+ { (args ) => {
52
+ return <ObjectStatus { ... args } />;
53
+ }}
54
+ </Story >
55
+ <Story
56
+ name = " Information"
57
+ args = { { state: ValueState .Information , children: ` Value State: ${ValueState .Information } ` }}
58
+ >
59
+ { (args ) => {
60
+ return <ObjectStatus { ... args } />;
61
+ }}
62
+ </Story >
63
+ <Story name = " Success" args = { { state: ValueState .Success , children: ` Value State: ${ValueState .Success } ` }} >
64
+ { (args ) => {
65
+ return <ObjectStatus { ... args } />;
66
+ }}
67
+ </Story >
68
+ <Story name = " Warning" args = { { state: ValueState .Warning , children: ` Value State: ${ValueState .Warning } ` }} >
69
+ { (args ) => {
70
+ return <ObjectStatus { ... args } />;
71
+ }}
72
+ </Story >
73
+ <Story name = " Error" args = { { state: ValueState .Error , children: ` Value State: ${ValueState .Error } ` }} >
74
+ { (args ) => {
75
+ return <ObjectStatus { ... args } />;
76
+ }}
77
+ </Story >
78
+ </Canvas >
79
+
47
80
## ObjectStatus with custom Icon
48
81
49
82
<Canvas >
You can’t perform that action at this time.
0 commit comments