@@ -49,11 +49,11 @@ $ yarn add react-semantic-render
4949
5050Renders content if ` when ` equals true.
5151
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 |
5757
5858``` jsx
5959import { Show } from ' react-semantic-render' ;
@@ -80,7 +80,7 @@ import { Show } from 'react-semantic-render'
8080Renders content from specified callback function from either ` render ` or ` children ` on each element of ` items ` .
8181
8282| Property | Type | Description
83- | ---| ---| ---| --- | --- |
83+ | ---| ---| ---|
8484| ` items ` | any[ ] | Array to map
8585| ` render ` | function | Shorthand for primary content
8686| ` children ` | node | Primary content
@@ -100,7 +100,7 @@ import { List } from 'react-semantic-render'
100100Renders content from first ` Switch.Case ` that matches ` value ` , else ` Switch.Default ` if it exists.
101101
102102| Property | Type | Description
103- | ---| ---| ---| --- | --- |
103+ | ---| ---| ---|
104104| ` value ` | boolean | Conditional statement
105105| ` children ` | node | Primary content
106106
@@ -122,7 +122,7 @@ import { Switch } from 'react-semantic-render'
122122Renders content from if when condition equals true, else renders content from else.
123123
124124| Property | Type | Description
125- | ---| ---| ---| --- | --- |
125+ | ---| ---| ---|
126126| ` condition ` | boolean | Conditional statement
127127| ` if ` | function | Renders when condition is true
128128| ` else ` | function | Renders when condition is false
@@ -146,7 +146,7 @@ import { ShowIfElse } from 'react-semantic-render'
146146Higher order component that injects 'hide' prop into specified component.
147147
148148| Property | Type | Description
149- | ---| ---| ---| --- | --- |
149+ | ---| ---| ---|
150150| ` hide ` | boolean | Conditional statement
151151
152152``` jsx
0 commit comments