@cc-test2/auth
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "@cc-test2/auth", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Made with create-react-library", | ||
@@ -58,3 +58,3 @@ "author": "CodeCraft", | ||
], | ||
"gitHead": "08fab9d1bf9293547407582aaaa0b716e7b67966" | ||
"gitHead": "f168d272a6694cebe86bb261d11dd50d15cf8d23" | ||
} |
@@ -5,3 +5,3 @@ # auth | ||
[![NPM](https://img.shields.io/npm/v/auth.svg)](https://www.npmjs.com/package/auth) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
[![NPM](https://img.shields.io/npm/v/@cc-test2/auth.svg)](https://www.npmjs.com/package/@cc-test2/auth) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
@@ -11,3 +11,3 @@ ## Install | ||
```bash | ||
npm install --save auth | ||
npm install --save @cc-test2/auth | ||
``` | ||
@@ -18,12 +18,15 @@ | ||
```jsx | ||
import React, { Component } from 'react' | ||
import React from 'react' | ||
import {withAuthSync} from "@cc-test2/auth"; | ||
import {GettingStartedContainer} from "../src/container/GettingStartedContainer"; | ||
import {Box} from "@chakra-ui/core"; | ||
import MyComponent from 'auth' | ||
import 'auth/dist/index.css' | ||
const index = () => { | ||
return <Box style={{height: 'calc(100vh - 72px)'}} mt={4}> | ||
<GettingStartedContainer/> | ||
</Box> | ||
}; | ||
class Example extends Component { | ||
render() { | ||
return <MyComponent /> | ||
} | ||
} | ||
export default withAuthSync(index); | ||
``` | ||
@@ -30,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13736
34