Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit 375c9c0

Browse files
authored
docs(readme): fix broken markdown tables
1 parent 9890068 commit 375c9c0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ $ yarn add react-semantic-render
4949

5050
Renders 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
5959
import { Show } from 'react-semantic-render';
@@ -80,7 +80,7 @@ import { Show } from 'react-semantic-render'
8080
Renders 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'
100100
Renders 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'
122122
Renders 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'
146146
Higher 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

Comments
 (0)