glamor-plugin-extract-to-comment
Glamor plugin that extracts specified css property to comment for better readability.Install
npm install -S glamor-plugin-extract-to-commentUsage
import extractToComment from "glamor-plugin-extract-to-comment"
import { plugins } from 'glamor'
// to show labels as comments and remove them from rules
plugins.add(extractToComment('label', true))
// or simply
plugins.add(extractToComment())
License
MIT © Vladimir Danchenkov