Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "nscss", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "CSS for Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/nscss.js", |
@@ -57,9 +57,5 @@ # NSCSS - CSS for Components | ||
```tsx | ||
import { nscssReact } from "nscss/react"; | ||
import { NSComponent, NSStateless, Stylesheet } from "nscss/react"; | ||
//Create your instance of nscss | ||
//You can create module that exports these deps to your app. | ||
const { NSComponent, NSStateless, Stylesheet } = nscssReact(); | ||
//NSStateless warps a stateless component | ||
@@ -93,3 +89,3 @@ const HelloWorld = NSStateless(()=>{ | ||
//put all stylesheets from this context into the document | ||
//attach all css into the document | ||
Stylesheet.context.attach(); | ||
@@ -96,0 +92,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
44383
471