@filbert-js/macro

0.0.3 • Public • Published

@filbert-js/macro

A Babel macro for filbert, converts styled.div syntax to styled('div') calls.

Install

npm install --save @filbert-js/macro

How to use

import React from 'react';
import { styled } from '@filbert-js/macro';

const Button = styled.button`
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  background-color: tomato;
`;

Package Sidebar

Install

npm i @filbert-js/macro

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

2.24 kB

Total Files

4

Last publish

Collaborators

  • kuldeepkeshwar