To use filbert-js
with preact
, all you need is @filbert-js/macro
1// app.js2import { styled } from '@filbert-js/macro';34import { h } from 'preact';56const Box = styled.div`7 color: red;8`;9export default function App() {10 return <Box>Preact is awesome</Box>;11}
👉 Checkout starter kit