https://github.com/ryanashcraft/redux-devtools-clipboard
Copy Redux state and actions to the clipboard
https://github.com/ryanashcraft/redux-devtools-clipboard
Last synced: 11 months ago
JSON representation
Copy Redux state and actions to the clipboard
- Host: GitHub
- URL: https://github.com/ryanashcraft/redux-devtools-clipboard
- Owner: ryanashcraft
- License: mit
- Created: 2016-05-04T19:36:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T18:15:28.000Z (over 8 years ago)
- Last Synced: 2025-06-27T11:48:50.873Z (about 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redux DevTools Clipboard
Dispatch your actions manually to test if your app reacts well.
### Installation
`npm install --save-dev redux-devtools-clipboard`
### Usage
You should use `` in combination with `` from [`redux-devtools-multiple-monitors`](https://github.com/YoruNoHikage/redux-devtools-multiple-monitors).
To use multiple monitors into the ``:
```jsx
import React from 'react';
import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
import Clipboard from 'redux-devtools-clipboard';
import MultipleMonitors from 'redux-devtools-multiple-monitors';
export default createDevTools(
);
```
Then, just write an JSON action in the field, click on Dispatch, and that's all!
### Props
Name | Description
------------- | -------------
`theme` | _Same as in LogMonitor's package_ Either a string referring to one of the themes provided by [redux-devtools-themes](https://github.com/gaearon/redux-devtools-themes) (feel free to contribute!) or a custom object of the same format. Optional. By default, set to [`'nicinabox'`](https://github.com/gaearon/redux-devtools-themes/blob/master/src/nicinabox.js).
### License
MIT