0.8.5 • Published 4 years ago
@hyper-systems/rescript-sx v0.8.5
sx - styling extensions
Sx is a just-in-time CSS generator based on the Tailwind API.
module Button = {
@react.component
let make = () => {
<button
className=%sx(`p-2 bg-white border(1 purple-700) text(lg center black) hover:(bg-purple-700 text-white)`)>
{React.string("Click!")}
</button>
}
}
0.8.6-0bd1b22.0
4 years ago
0.8.6-0eed2c2.0
4 years ago
0.8.6-661a60f.0
4 years ago
0.8.6-fd0a561.0
4 years ago
0.8.5
4 years ago
0.8.6-38cb0d4.0
4 years ago
0.8.6-b82e08d.0
4 years ago
0.8.5-00ef613.0
4 years ago
0.8.4
4 years ago
0.8.5-1abfb74.0
4 years ago
0.8.5-5317560.0
4 years ago