@adactive/adsum-screensaver-asia
Advanced tools
Comparing version 2.5.0 to 2.5.1
{ | ||
"name": "@adactive/adsum-screensaver-asia", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Adsum Screensaver Component", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
], | ||
"gitHead": "079824533530dc57472ce4aa3cdb21775a6496f2" | ||
"gitHead": "e37f46629f661fdf2d2f4b26e66efcb4a2fc7a2d" | ||
} |
@@ -12,3 +12,3 @@ # Carousel component | ||
- import the reducer : | ||
**import { ScreenSaverReducers } from '@adactive/arc-screensaver-asia';** | ||
**import { ScreenSaverReducers } from '@adactive/adsum-screensaver-asia';** | ||
- add ScreenSaverReducers on your root reducer, for example: | ||
@@ -23,3 +23,3 @@ const appState: AppStateType = { | ||
First thing to do is to import the action to file which you need the actions, for example app.js | ||
**import { ScreenSaverActions } from '@adactive/arc-screensaver-asia';** | ||
**import { ScreenSaverActions } from '@adactive/adsum-screensaver-asia';** | ||
@@ -71,3 +71,6 @@ There is 2 redux prop actions that this component have: | ||
5. Attach App Click on Your App(main) Component | ||
```onClick={() => this.props.appClick(true)}``` | ||
### Props | ||
@@ -98,5 +101,5 @@ | ||
### Less only | ||
`npx @adactive/arc-screensaver copy --less-only` | ||
`npx @adactive/adsum-screensaver copy --less-only` | ||
### Full copy | ||
`npx @adactive/arc-screensaver copy` | ||
`npx @adactive/adsum-screensaver copy` |
@@ -104,5 +104,8 @@ // @flow | ||
return ( | ||
<React.Fragment> | ||
<div style={{ | ||
width: '100%', height: '100%', zIndex: '999', position: 'absolute' | ||
}} | ||
> | ||
{screensaverIsOpen && children} | ||
</React.Fragment> | ||
</div> | ||
); | ||
@@ -109,0 +112,0 @@ } |
10072
178
102