@tw-classed/react@1.3.0
·
216 commits
to master
since this release
This release adds support for the createClassed
API to configure classed. Currently only the merger
prop is supported as config
You can build your own or use tailwind-merge
// Classed.config.ts
import { twMerge } from "tailwind-merge";
export const { classed } = createClassed({
merger: twMerge,
});
Minor Changes
- #52
47437bca
Thanks @sannajammeh! - Add createClassed API to extend the classed function with additional functionality. Currently only "merger" prop is supported
Patch Changes
-
#61
79be37a2
Thanks @sannajammeh! - This release extends core to support the createClassed API, adds improvements to the documentation -
#61
29570c7e
Thanks @sannajammeh! - Export DerivedComponentType to handle as prop in derived components -
#61
e7596bb9
Thanks @sannajammeh! - Fixes "This module is a CJS module" in node.js with type:"module" -
Updated dependencies [
79be37a2
,29570c7e
,f328e321
,e7596bb9
]:- @tw-classed/core@1.3.0