@chainplatform/layout 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,20 +1,20 @@
1
- # ChainSDK
2
- @chainplatform/sdk is a React Native library implement for react-native and react-native-web. Require crypto-js and react-native-mmkv packages.
1
+ # Chain Platform Layout
2
+ @chainplatform/layout is a React Native library implement for react-native and react-native-web.
3
3
 
4
4
  <p align="center">
5
- <a href="https://github.com/ChainPlatform/ChainSDK/blob/HEAD/LICENSE">
5
+ <a href="https://github.com/ChainPlatform/react-native-layout/blob/HEAD/LICENSE">
6
6
  <img src="https://img.shields.io/badge/license-MIT-blue.svg" />
7
7
  </a>
8
- <a href="https://www.npmjs.com/package/@chainplatform/sdk">
9
- <img src="https://img.shields.io/npm/v/@chainplatform/sdk?color=brightgreen&label=npm%20package" alt="Current npm package version." />
8
+ <a href="https://www.npmjs.com/package/@chainplatform/layout">
9
+ <img src="https://img.shields.io/npm/v/@chainplatform/layout?color=brightgreen&label=npm%20package" alt="Current npm package version." />
10
10
  </a>
11
- <a href="https://www.npmjs.com/package/@chainplatform/sdk">
12
- <img src="https://img.shields.io/npm/dt/@chainplatform/sdk.svg"></img>
11
+ <a href="https://www.npmjs.com/package/@chainplatform/layout">
12
+ <img src="https://img.shields.io/npm/dt/@chainplatform/layout.svg"></img>
13
13
  </a>
14
- <a href="https://www.npmjs.com/package/@chainplatform/sdk">
14
+ <a href="https://www.npmjs.com/package/@chainplatform/layout">
15
15
  <img src="https://img.shields.io/badge/platform-android%20%7C%20ios%20%7C%20web-blue"></img>
16
16
  </a>
17
- <a href="https://github.com/ChainPlatform/ChainSDK/pulls">
17
+ <a href="https://github.com/ChainPlatform/react-native-layout/pulls">
18
18
  <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" />
19
19
  </a>
20
20
  <a href="https://twitter.com/intent/follow?screen_name=doansan">
@@ -24,11 +24,11 @@
24
24
 
25
25
  ### Install
26
26
  ```
27
- npm install @chainplatform/sdk --save
27
+ npm install @chainplatform/layout --save
28
28
  ```
29
29
  or
30
30
  ```
31
- yarn add @chainplatform/sdk
31
+ yarn add @chainplatform/layout
32
32
  ```
33
33
 
34
34
 
@@ -36,7 +36,7 @@ yarn add @chainplatform/sdk
36
36
 
37
37
  ```js
38
38
  import React from 'react';
39
- import * as ChainSDK from '@chainplatform/sdk';
39
+ import { getScreenLanding } from '@chainplatform/layout';
40
40
 
41
41
  class App extends React.Component {
42
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainplatform/layout",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "@chainplatform/layout",
5
5
  "main": "index.js",
6
6
  "devDependencies": {
package/src/Landing.js CHANGED
@@ -125,7 +125,7 @@ export function getScreenLanding(layoutWidth, isDesktop) {
125
125
  numberwebinarChart = 2;
126
126
  webinarPadding = setSize(15);
127
127
  }
128
- if (layoutWidth >= sdkStyles.split_desktop && side_bar_width == 0) {
128
+ if (layoutWidth >= sdkStyles.split_desktop) {
129
129
  numberwebinarChart = 3;
130
130
  webinarPadding = setSize(15);
131
131
  }