@@ -49,11 +49,11 @@ $ yarn add react-semantic-render
49
49
50
50
Renders content if ` when ` equals true.
51
51
52
- | Property | Type | Description
53
- | ---| ---| ---| --- | --- |
54
- | ` when ` | boolean | Conditional statement
55
- | ` render ` | function | Shorthand for primary content
56
- | ` children ` | node | Primary content
52
+ | Property | Type | Description |
53
+ | ---| ---| ---|
54
+ | ` when ` | boolean | Conditional statement |
55
+ | ` render ` | function | Shorthand for primary content |
56
+ | ` children ` | node | Primary content |
57
57
58
58
``` jsx
59
59
import { Show } from ' react-semantic-render' ;
@@ -80,7 +80,7 @@ import { Show } from 'react-semantic-render'
80
80
Renders content from specified callback function from either ` render ` or ` children ` on each element of ` items ` .
81
81
82
82
| Property | Type | Description
83
- | ---| ---| ---| --- | --- |
83
+ | ---| ---| ---|
84
84
| ` items ` | any[ ] | Array to map
85
85
| ` render ` | function | Shorthand for primary content
86
86
| ` children ` | node | Primary content
@@ -100,7 +100,7 @@ import { List } from 'react-semantic-render'
100
100
Renders content from first ` Switch.Case ` that matches ` value ` , else ` Switch.Default ` if it exists.
101
101
102
102
| Property | Type | Description
103
- | ---| ---| ---| --- | --- |
103
+ | ---| ---| ---|
104
104
| ` value ` | boolean | Conditional statement
105
105
| ` children ` | node | Primary content
106
106
@@ -122,7 +122,7 @@ import { Switch } from 'react-semantic-render'
122
122
Renders content from if when condition equals true, else renders content from else.
123
123
124
124
| Property | Type | Description
125
- | ---| ---| ---| --- | --- |
125
+ | ---| ---| ---|
126
126
| ` condition ` | boolean | Conditional statement
127
127
| ` if ` | function | Renders when condition is true
128
128
| ` else ` | function | Renders when condition is false
@@ -146,7 +146,7 @@ import { ShowIfElse } from 'react-semantic-render'
146
146
Higher order component that injects 'hide' prop into specified component.
147
147
148
148
| Property | Type | Description
149
- | ---| ---| ---| --- | --- |
149
+ | ---| ---| ---|
150
150
| ` hide ` | boolean | Conditional statement
151
151
152
152
``` jsx
0 commit comments