zambal / eml

Library for writing and manipulating (html) markup in Elixir.
Other
116 stars 14 forks source link

Add attribute to component #14

Open esurat20 opened 4 years ago

esurat20 commented 4 years ago

@some_attr

component my_list,
ul [styles: @styles], @CONTENT end

my_list styles: %{font-color: blue, font-size: @some_attr} do content end

Hello, i tried to add an attribute like a variable for the component but got an error while compilation.