benefit
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

Installation

yarn add benefit

Import and use the createBenefit function to create your utility classes

import { createBenefit } from "benefit"

const { styleWith } = createBenefit()

Use styleWith(...) to pass in utility classes

<div class={styleWith("p-4 bg-white text-blue-700")}>
  ...
</div>

Versions

Current Tags

Version History

Package Sidebar

Install

npm i benefit

Weekly Downloads

0

Version

2.2.1

License

MIT

Unpacked Size

906 kB

Total Files

98

Last publish

Collaborators

  • cdonohue