|
1 | 1 | # API Reference for createAction(s) |
2 | 2 |
|
3 | | -* [Methods](#methods) |
4 | | - * [createAction](#createaction) |
5 | | - * [`createAction(type)`](#createactiontype) |
6 | | - * [`createAction(type, payloadCreator)`](#createactiontype-payloadcreator) |
7 | | - * [`createAction(type, payloadCreator, metaCreator)`](#createactiontype-payloadcreator-metacreator) |
8 | | - * [createActions](#createactions) |
9 | | - * [`createActions(actionMap)`](#createactionsactionmap) |
10 | | - * [`createActions(actionMap, ...identityActions)`](#createactionsactionmap-identityactions) |
| 3 | +- [Methods](#methods) |
| 4 | + - [createAction](#createaction) |
| 5 | + - [`createAction(type)`](#createactiontype) |
| 6 | + - [`createAction(type, payloadCreator)`](#createactiontype-payloadcreator) |
| 7 | + - [`createAction(type, payloadCreator, metaCreator)`](#createactiontype-payloadcreator-metacreator) |
| 8 | + - [createActions](#createactions) |
| 9 | + - [`createActions(actionMap)`](#createactionsactionmap) |
| 10 | + - [`createActions(actionMap, ...identityActions)`](#createactionsactionmap-identityactions) |
11 | 11 |
|
12 | 12 | ## Methods |
13 | 13 |
|
@@ -150,10 +150,10 @@ import { createActions } from 'redux-actions'; |
150 | 150 |
|
151 | 151 | `actionMap` is an object which can optionally have a recursive data structure, with action types as keys, and whose values **must** be either |
152 | 152 |
|
153 | | -* a function, which is the payload creator for that action |
154 | | -* an array with `payload` and `meta` functions in that order, as in [`createAction`](#createaction) |
155 | | - * `meta` is **required** in this case \(otherwise use the function form above\) |
156 | | -* an `actionMap` |
| 153 | +- a function, which is the payload creator for that action |
| 154 | +- an array with `payload` and `meta` functions in that order, as in [`createAction`](#createaction) |
| 155 | + - `meta` is **required** in this case \(otherwise use the function form above\) |
| 156 | +- an `actionMap` |
157 | 157 |
|
158 | 158 | ###### EXAMPLE |
159 | 159 |
|
|
0 commit comments