Skip to content

Commit 4c2c263

Browse files
committed
Regenerate docs
1 parent 836471f commit 4c2c263

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

generated-docs/React/Basic.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ data Action
5252
= Increment
5353
5454
counter :: Props -> JSX
55-
counter: make component
56-
{ initialState = { counter: 0 }
55+
counter = make component
56+
{ initialState: { counter: 0 }
5757
5858
, update: \self action -> case action of
5959
Increment ->
@@ -112,8 +112,6 @@ __*See also:* `Component`, `make`, `makeStateless`__
112112
data Component props
113113
```
114114

115-
A simplified alias for `ComponentSpec`. This type is usually used to represent
116-
the default component type returned from `createComponent`.
117115
Opaque component information for internal use.
118116

119117
__*Note:* Never define a component with
@@ -255,7 +253,7 @@ __*See also:* `Self`__
255253
#### `make`
256254

257255
``` purescript
258-
make :: forall spec spec_ props state action. Union spec spec_ (ComponentSpec props state action) => Component props -> { render :: Self props state action -> JSX | spec } -> props -> JSX
256+
make :: forall spec spec_ props state action. Union spec spec_ (ComponentSpec props state action) => Component props -> { initialState :: state, render :: Self props state action -> JSX | spec } -> props -> JSX
259257
```
260258

261259
Turn a `Component` and `ComponentSpec` into a usable render function.

generated-docs/React/Basic/Compat.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Module React.Basic.Compat
22

3+
This module is deprecated and may be removed in the next
4+
major version.
5+
36
#### `Component`
47

58
``` purescript
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Module React.Basic.Components.Async
2+
3+
#### `async`
4+
5+
``` purescript
6+
async :: Aff JSX -> JSX
7+
```
8+
9+
#### `asyncWithLoader`
10+
11+
``` purescript
12+
asyncWithLoader :: JSX -> Aff JSX -> JSX
13+
```
14+
15+

0 commit comments

Comments
 (0)