Macro tailwind_fuse::merge::tw_merge

source ·
macro_rules! tw_merge {
    ($($item:expr),+ $(,)?) => { ... };
}
Expand description

Merges all the Tailwind classes, resolving conflicts.

Items can be anything that implements crate::AsTailwindClass.

If you DON’T want to handle conflicts use crate::tw_join!.

If you want to set global options use crate::merge::set_merge_options.

If you want a custom type to be used with this macro, implement the [crate::MaybeIntoTailwindClass] trait.