Module

x/goober/prefixer/README.md

πŸ₯œ goober, a less than 1KB πŸŽ‰ css-in-js alternative with a familiar API
Go to Latest
File

goober-autoprefixer

A css autoprefixer for πŸ₯œgoober using style-vendorizer.

Install

npm install --save goober

How to use it

This packages exports a prefix function that needs to be passed to goober's setup function like this:

import React from 'react';
import { setup } from 'goober';
import { prefix } from 'goober/prefixer';

// Setup goober for react with autoprefixer
setup(React.createElement, prefix);