@cssvscss/lib

0.0.2 • Public • Published

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

/@cssvscss/lib/

    Package Sidebar

    Install

    npm i @cssvscss/lib

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    28.1 kB

    Total Files

    13

    Last publish

    Collaborators

    • benkincaidweb