0.0.2 • Published 5 years ago

@cssvscss/lib v0.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

cssvscss-lib

Component library for cssvscss.com

About

cssvscss-lib is a React component library for providing crucial components to the cssvscss codebase.

  • Editor A CSS code editor built on top of CodeMirror.

  • Renderer A renderer that 1) takes JSX as its 'base' markup and renders it inside the component and 2) takes a parsed CSS object, appends a specific scope to all css declarations, and embedds the styles into a <script> tag within the element. A basic, sandboxed code preview element.

  • InlineStyle Primarily used by the Renderer component, it takes in a scope and a style(CSS object), adds a data type selector to all styles and appends the scope to the current renderer.

Installation

npm install @cssvscss/lib

Documentation

WIP