Macro tailwind_fuse::tw_join
source · macro_rules! tw_join { ($item:expr) => { ... }; ($a:expr, $b:expr) => { ... }; ($a:expr, $b:expr, $c:expr) => { ... }; ($a:expr, $b:expr, $c:expr, $d:expr) => { ... }; ($a:expr, $b:expr, $c:expr, $d:expr, $e:expr) => { ... }; ($($item:expr),+ $(,)?) => { ... }; }
Expand description
Joins the given classes into a single string.
Items can be anything that implements crate::AsTailwindClass.
If you want to handle conflicts use crate::tw_merge!.
If you want a custom type to be used with this macro, implement the crate::AsTailwindClass trait.