Skip to content

Latest commit

 

History

History

preact-styled-components

Twin + Preact + Styled Components + Twin

TwinTwinPreactStyled componentsStyled components

This example shows how to use the styled components css-in-js library with twin.macro within Preact.

Get started

Download this example using degit:

npx degit https://github.com/ben-rogerson/twin.examples/preact-styled-components folder-name

From within the new folder, run npm install, then npm start to start the dev server.