Package

purescript-fahrtwind

Repository
rowtype-yoga/purescript-fahrtwind
License
MIT
Uploaded by
pacchettibotti
Published on
2022-12-04T10:20:14Z

./docs/img/fahrtwind.jpg

A library that leverages react-basic-emotion to provide a lot of functionality from tailwind.

Example

module Example where

import Fahrtwind
import React.Basic.Emotion as Emotion
import React.Basic.DOM (a', text)
import Fahrtwind.Icon.Heroicons as Heroicon

anchor href caption = Emotion.element a'
  { className: "my-anchor"
  , css: textCol blue._500
      <> hover textDecorationUnderline
  , href
  , children: [ text caption, Heroicon.externalLink ]
  }