tailwind-merge-rtl-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.9.6 • Public • Published

tailwind-merge-rtl-plugin

Tailwind RTL Plugin for Tailwind Merge

import { extendTailwindMerge } from 'tailwind-merge'
import { withRtl } from 'tailwind-merge-rtl-plugin'

const customTwMergeWithPluginRTL = extendTailwindMerge(withRtl)

customTwMergeWithPluginRTL('start-1 ps-2 hover:bg-black', 'start-3 ps-[15px]')
// → 'hover:bg-black start-3 ps-[15px]'

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i tailwind-merge-rtl-plugin

    Weekly Downloads

    1

    Version

    0.9.6

    License

    MIT

    Unpacked Size

    31.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • vl.tansky