Add derive macro now new elements
This commit is contained in:
parent
77bc682a69
commit
4efc46c763
4 changed files with 129 additions and 68 deletions
|
@ -7,3 +7,8 @@ mod tailwind_lengths;
|
|||
pub fn tailwind_lengths(attr: TokenStream, item: TokenStream) -> TokenStream {
|
||||
tailwind_lengths::tailwind_lengths(attr, item)
|
||||
}
|
||||
|
||||
#[proc_macro_derive(Element, attributes(element_crate))]
|
||||
pub fn derive_element(input: TokenStream) -> TokenStream {
|
||||
derive_element::derive_element(input)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue